This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes parsing complex tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "parsing complex tags" Watch "parsing complex tags" New topic
Author

parsing complex tags

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
Here is a simple xml file

I have to read this file through jdom and store the value of different tags. I have done everything i am unable to read "dirs" tag as it is bit complex. what i need is a method which should return a collection of dirs, each containg further collections of another tags. Any suggestions???
thanx in advance


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: parsing complex tags