wood burning stoves
The moose likes Other JSE/JEE APIs and the fly likes Java XML doc processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Java XML doc processing" Watch "Java XML doc processing" New topic

Java XML doc processing

M Burke
Ranch Hand

Joined: Jun 25, 2004
Posts: 395
I need an example of how Java reads in an XML file and accesses the nodes. Anyone have one?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19728

There are several ways. Here's a whole book about the subject:

payal agrawal
Ranch Hand

Joined: Oct 11, 2005
Posts: 44
Look at the URLs below:

Parsing XML with a simple SAX document handler

Reading a DOM tree from XML document

Reading a document from XML file with SAX

Reading a document from XML file with DOM
[ December 09, 2005: Message edited by: payal agrawal ]
M Burke
Ranch Hand

Joined: Jun 25, 2004
Posts: 395
Thanks guys, I will look through it
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Java XML doc processing
It's not a secret anymore!