[jdom-interest] How can I get the next child element by same name?

dongst jdst12 at sohu.com
Tue Jun 4 22:23:57 PDT 2002


hi,all
I use JDom b8,
when I want get a child element,I use code below:

org.jdom.element elementA = elementB.getchild("name1");

but how can I get the elementC whose name is "name1" too, 
and it is the next element of elementA, 
and elementB is the parent of elementA and elementC.

thanks

jack dong
jdst12 at sohu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020605/14b221e9/attachment.htm


More information about the jdom-interest mailing list