This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
There is rarely a single "best" for anything. Any number of other libraries are available that provide an API for working with XML documents: XOM, dom4j, JDOM, XPath, ... Which one is best suited depends on your requirements. SAX is likely to be the fasted, while XPath is likely to be the slowest.
Joined: Oct 01, 2008
What is the difference between Jdom and dom4j?
I am not getting one more thing ...In JDOm and DOm4j we can use either SAX or DOM parser, then these parser contains the DOM in their name..JDOM and dom4j
Joined: Mar 22, 2005
I think ALL these libraries use SAX underneath, even DOM. In that sense, DOM is not really a "parser", it's an XML API.
JDOM, dom4j and XOM are alternative DOM APIs. If you study the documentation on their respective web sites, you should get a feel of what their differences are.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com