[jdom-interest] Question about selecting nodes with XPath

Clemens Eisserer linuxhippy at gmail.com
Tue Jan 31 15:24:54 PST 2006

Hi again,

Thanks for the tons of suggestions!
Now everything works fine!

> If you're selecting with the root as context node, //a:displayname will
> select all the a:displayname elements
Yes I am selecting with root as context node, so it should do exactly
what I would like it to do :)

> You might be encountering the same bugs as I did, namely, that of //elt
> seems not to select the child... I think it's a bug of Jaxen. It happens
> with both plain Jaxen and JDOM wrapper for it to me. Changing the path
> to .//elt worked for me though.
For now everything works like it should, but if I encounter problems
I'll give it a try.

Thanks again, lg Clemens

More information about the jdom-interest mailing list