[jdom-interest] Child number

KhanhVinh Tran kvtran999 at yahoo.com
Tue Apr 16 15:41:17 PDT 2002

I have a XML doc as below:

       <child> A </child>
       <child> B </child>
       <child> C </child>

How do I know "B" is the text of the 2rd child?
I need to know the child number so I can use
the method remove(int child#).
Ex: allChildren.remove(3) //remove the third child

Thanks in advance.

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

More information about the jdom-interest mailing list