Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: [jdom-interest] Question about selecting nodes with XPath

Clemens Eisserer

2006-01-31

Replies:

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

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.