There are many pretty good json libs lika GSon. But for XML I know only Xerces/JDOM and both have tedious API.
I don\'t like to use unnecessary objects like DocumentFactory,
The W3C DOM model is unpleasant and cumbersome, I agree. JDOM is already pretty simple. The only other DOM API that I'm aware of that is simpler is XOM.