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
Printable View
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
Check out this parser:
Java API for XML Parsing: Class DocumentBuilder
http://search.java.sun.com/ClickThru...sun0&col=jsun1
Java API for XML Parsing: Overview
http://search.java.sun.com/ClickThru...sun0&col=jsun1
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