my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
please help
VirtualHost/Webgroup not defined error
PLGN0021E: Servlet Request Processor Exception
Tomcat error when running
Upgrading tomcat; help with context container