Forums Register Login
Iterating same level nodes

Hi there,


how to iterate the above XML to get the Country's

Have a nice day
You need to get familiar with the standard Java library for manipulating XML.

Given the "World" org.w3c.Dom.Eement, you can getElementsByTagName("Country") to get a NodeList which you can use to iterate.


Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 560 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2018 19:31:40.