File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Iterating same level nodes
Joined: Oct 02, 2011
Mar 05, 2012 06:02:40
how to iterate the above XML to get the Country's
Have a nice day
Author and all-around good cowpoke
Joined: Mar 22, 2000
Mar 05, 2012 07:12:29
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
which you can use to iterate.
Java Resources at
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Iterating same level nodes
The fastest way to have peace on earth
14th and 15th Centuries - not the Darkest Ages
Japan’s Love For Bicycle
Do the Taliban smoke the opium too?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013