in struts it both uses the SAX and DOM parsers.
the diff. is SAX is an Event based parser and DOM is tree based parser.
DOM consumes more memory than SAX.
so if you want to read the XML doc. then go for SAX.
if you are doing update delete insert operations on XML then go for DOM.
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