Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes XML parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

XML parsing

Bony Sen
Greenhorn

Joined: Dec 02, 2008
Posts: 23
Hi,

Can anyone suggest the best way of parsing an xml? The size of the xml is around 12 KB.
Requirement is to parse the xml and based on 'id' attribute of each block, that block will be selected and commands within the block executed.
One block may refer other blocks also.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

Duplicate of http://www.coderanch.com/t/447446/Java-General-intermediate/java/best-way-parse-xml
Closing


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML parsing
 
Similar Threads
Plz let me know how to pass an XML to servlet
best way to parse an xml
Statement and PreparedStatement question?
XML parsing
unable to remove spaces in xml