File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "parsing complex tags" Watch "parsing complex tags" New topic

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"
I agree. Here's the link:
subject: parsing complex tags
It's not a secret anymore!