Java code to read XML file using JDOM
This article specifies a simple Java code to read the data or contents from the xml file using jdom jar. JDom is a way to represent an xml document for easy to read and write ,JDOM is an light weight for manipulation,Despite the name similarity its not build on DOM or modeled after DOM. It supports reading and writing a Dom document, SAX events and reduce the complexity to read an xml document.
Hi,
Nice article. Maybe you already know this, but wouldnt it be better to use AXIOM as its a pull parser rather than a push parser like JDOM. Again very nice tutorial and thx for sharing
For simple parsing, I would suggest SAX/StAX, as they both are a lot faster
thank you.