This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
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 NodeList which you can use to iterate.
subject: Iterating same level nodes
14th and 15th Centuries - not the Darkest Ages
Do the Taliban smoke the opium too?
The fastest way to have peace on earth
Japan’s Love For Bicycle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014