ext_2941 ([identity profile] ciphergoth.livejournal.com) wrote in [personal profile] juliet 2004-07-29 06:34 pm (UTC)

That's wrong. If you want to match a text node, you need the function text() - "text" should match a node called "text" and "@text" an attribute, just as you say.

Just checked the XPath spec to confirm that.

PS do delete the blogspam when you get the chance...

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting