Tag Archives: sax

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