Click to See Complete Forum and Search --> : can't load XML documents


Alexey Al.
March 3rd, 2000, 07:10 AM
I just want to create a simple java application working with a simple XML file.
But the java classes implementing DOM(2) that I have don't contain methods to load an xml document. So I have a usual SAX 1.0 compartible parser from Microstar and DOM level 2 classes from Brownell -how to link them together ???
May be I need some addition tools ? This good IBM parser is too big to download ....

Frederic Perrin
June 11th, 2000, 12:56 AM
With the xml.jar from sun, you have to use the InputSource for any reader. So, you can create a new XmlDocument with this Inputsource.