Over the years after using few parsers for the job, I tried to find out the best possible parser in terms of ease-of-use and performance.
I found out that JAXB is by far the clear winner with XPATH can be it’s deputy.
I have compared DOM, SAX, JAXP, JAXB, StAX and XPATH.
The comparison is detailed in the attached powerpoint presentation.
Comparing Java XML parsers