In this serial of Java XML tutorials, we will show how to use the XML parser like DOM, SAX, StAX, and JDOM to read and write XML document; Also, JAXB to convert XML to/from objects. In General, there are two programming models for working with XML documents: DOM and SAX (Streaming). Table of contents 1. Document Object Model (DOM) 2. Simple API for XML (SAX) 3. Streaming API for XML (StAX) 4. Thir