| Author |
Java XML doc processing
|
M Burke
Ranch Hand
Joined: Jun 25, 2004
Posts: 375
|
|
|
I need an example of how Java reads in an XML file and accesses the nodes. Anyone have one?
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
There are several ways. Here's a whole book about the subject: http://www.cafeconleche.org/books/xmljava/chapters/index.html
|
 |
payal agrawal
Ranch Hand
Joined: Oct 11, 2005
Posts: 44
|
|
Look at the URLs below: Parsing XML with a simple SAX document handler http://www.java-tips.org/content/view/517/2/ Reading a DOM tree from XML document http://www.java-tips.org/content/view/437/2/ Reading a document from XML file with SAX http://www.java-tips.org/content/view/811/29/ Reading a document from XML file with DOM http://www.java-tips.org/content/view/812/29/ [ December 09, 2005: Message edited by: payal agrawal ]
|
 |
M Burke
Ranch Hand
Joined: Jun 25, 2004
Posts: 375
|
|
Thanks guys, I will look through it
|
 |
 |
|
|
subject: Java XML doc processing
|
|
|