« Return to Thread: how to read the children iterativ with jdom?

how to read the children iterativ with jdom?

by thedaystar :: Rate this Message:

Reply to Author | View in Thread

Hi everyone,

firstly sorry for my bad english;)

how can i read the elements iterativ with jdom?

for example:

<Element>
   
    <chiled>
      <id>1</id>
    </chiled>

    <chiled>
      <id>2</id>
    </chiled>

    <chiled>
      <id>3</id>
    </chiled>

How to read the three chiled iterativ? there is no something like nextElement??

 thank you

 « Return to Thread: how to read the children iterativ with jdom?