What Does Simple API For XML (SAX) Mean?

The Simple API for XML (SAX) is a programming interface that acts as an event-based sequential access parser application programming interface (API) for XML documents. It provides an abstract interface in which the XML information set (infoset) is processed in a linear sequence of method calls. SAX is a de facto standard that was released on May 11, 1998. The project was started by parser authors Tim Bray and David Megginson, and the initial draft was developed by Megginson.

Techopedia Explains Simple API For XML (SAX)

SAX provides a streaming interface in which applications get the infoset from XML documents in a linear and continuous stream. Previously accessed data cannot be reread, because SAX is unidirectional and does not allow for backtracking. SAX conducts a search of large documents to fetch small pieces of information. It also provides a mechanism to abort the process once the information is located. SAX is a simpler and faster interface than the document object model (DOM). The benefits of using SAX are as follows: