SAX (Simple API for XML) provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially.
SAX is supported by several libraries for Delphi and Free Pascal, some open source libraries are:
- SAX for Pascal library
- OXML library (dual-licensed), Sourceforge page
- libxml2 engine supports SAX, and has a Pascal binding available
- fcl-xml package