The Simple API for XML (SAX) and the Document Object Model (DOM) API are not eXtensible Markup Language (XML) parsers. They are application programming interfaces (API) which comunicate with an XML parser.
Which API is best, SAX or DOM, depends mostly upon specific requirements for a specific implementation. This includes things like the structure of the XML-based language to be processed, the average file-size of the instance document to be processed, and what type of processing need to execute.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database