[jdom-interest] Question on getChild

Jason Hunter jhunter at collab.net
Thu Nov 30 10:17:49 PST 2000


Yep, look in jdom-contrib and you'll see an XPath module.  Bob's doing
work outside jdom-contrib but the URL is in the README.

-jh-

> Wang K H wrote:
> 
> Hi,
> 
> I have been using the element getChild() method and wondering, instead
> of using something like
> 
> a.getChild("b").getChild("c");
> 
> Can we write something similar to XPath?
> 
> a.getChild("b/c");
> 
> Thanks in advance.
> 
> WKH



More information about the jdom-interest mailing list