Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Java
XML parsing with Java
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="vk02720, post: 3694684"] What is the standard/safe/optimal way of parsing XML from Java program? I have to use JDK 1.4 to begin with now but in few months code should be compilable and workable with 1.5 as well. What has been confusing is 1.4 including XML parser but not Xerces? How can I use Xerces with 1.4? Should I just add the xerces jar file to my project and use JAXP API? From some previous projects, I tried to look for xerces jars - some have xerces.jar and some xercesImpl.jar. What is the difference? Where can I download recent/ correct one to be able to use it with 1.4/JAXP? After I build my program, is there any way I can know which parser is being used? Anything I can call in my program to print some info about parser? I am currently required to do atleast: - validate my input XML against a schema (in a seperate xsd file) - to be able to use DOM and SAX basic APIs. - to be able to use Xpath. Any insights/advice appreciated. TIA [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
XML parsing with Java
Top