Tag Archives: xml

Java – Parsing an XML document with SAX

Java offers both DOM and SAX mechanisms for parsing XML documents. For lightweight, single pass requirements on large documents SAX will usually win. Here we work through a simple example of how to do it. Continue reading

Java Quick Start – Marshalling a class to XML with JAXB

Want to use JAXB to convert a plain Java class to and from XML without an associated XSD? In this quick start we work through how to do it. Continue reading