Click to See Complete Forum and Search --> : reading data from xml file
sweetsupra
Apr 25th, 2001, 04:10 PM
Hey guys,
I have a question. I was talking to my bro over the phone and he asked how I would read information from a xml file into a java. What is the easiest way?
Any suggestions will be greatly appreciated.
Manoj
VirtuallyVB
Apr 25th, 2001, 05:02 PM
Check out this parser:
Java API for XML Parsing: Class DocumentBuilder
http://search.java.sun.com/ClickThru?url=http%3A%2F%2Fjava.sun.com%2Fxml%2Fjaxp-docs-1.0.1%2Fdocs%2Fapi%2Fjavax%2Fxml%2Fparsers%2FDocumentBuilder.html&qt=parse+xml&pathInfo=%2Fjava&col=jsun0&col=jsun1
Java API for XML Parsing: Overview
http://search.java.sun.com/ClickThru?url=http%3A%2F%2Fjava.sun.com%2Fxml%2Fjaxp-docs-1.0.1%2Fdocs%2Fapi%2Finternal%2Foverview-summary.html&qt=parse+xml&pathInfo=%2Fjava&col=jsun0&col=jsun1
sweetsupra
Apr 25th, 2001, 05:15 PM
Hey VirtuallyVB,
Thanks for the help...that's what I am looking for..but I have one more question tho...DOM Object...Should I treat that as a regular object in java?
Manoj
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.