[jdom-interest] How to travers deeply?

Mark Hortman mark.hortman at jcafeinc.com
Mon Oct 7 07:09:09 PDT 2002


What is the problem with saying

/root/client[@id='2']/address/street


rrytov wrote ----------------------------

>In the following example how should I find a street of a client whose ID 
>is 2?

><root>
><client id="1">
><address>
><street> Burgen </street>
></address>
></client>
><client id="2">
><address>
><street> Durgen </street>
></address>
></client>

<other tags>...

</root>



More information about the jdom-interest mailing list