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="Arne Vajhøj, post: 3694763"] Java contains a XML parser that follows the JAXP standard. If you use only the JAXP standard, then it should not matter. Implementation wise Java 1.4 used Crimson and Java 1.5 and newer uses Xerces. Get Xerces in the classpath and use: System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"); Sure - just print the concrete class of some object with: somexmlobj.getClass().getName() and you can see from package name what it is. Easy. Both with DOM and SAX. Requires DOM. Arne [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Java
XML parsing with Java
Top