[jdom-interest] Question about selecting nodes with XPath

Clemens Eisserer linuxhippy at gmail.com
Tue Jan 31 13:20:27 PST 2006


Hi Mattias,

I know that this does not belong to here but to be honest I did not
find a suitable place to ask this. I searched arround with google but
it just confused me :(Thanks for ignoring this fact and ansering
anyway.

> If you want to find nodes anywhere in the tree, try prefixing with //
> instead of / (which assumes the root node)
Jep you're right, but I did not use it since I found the comment that
this does only return "first-born" elements and although I have to
admit that i don't know what that is I am afraid of loosing some
content. Is this no valid fear?

lg Clemens



More information about the jdom-interest mailing list