[jdom-interest] How can I get the next child element by same
Adams, Dick W
DAdams07 at sprintspectrum.com
Wed Jun 5 04:38:09 PDT 2002
If you call getChildren(childname) instead, you'll get a list of ALL child
elements with the specified name. You can then access any of them as
From: dongst [mailto:jdst12 at sohu.com]
Sent: Wednesday, June 05, 2002 12:24 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] How can I get the next child element by same name?
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.
jdst12 at sohu.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest