SAX (Simple API for XML) is an application program interface (API) that allows a programmer to interpret a Web file that uses the Extensible Markup Language (XML) - that is, a Web file that describes a collection of data. SAX is an alternative to using the Document Object Model (DOM) to interpret the XML file. As its name suggests, it's a simpler interface than DOM and is appropriate where many or very large files are to be processed, but it contains fewer capabilities for manipulating the data content.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
SAX is an event-driven interface. The programmer specifies an event that may happen and, if it does, SAX gets control and handles the situation. SAX works directly with an XML parser.
SAX was developed collaboratively by members of the XML-DEV mailing list (currently hosted by OASIS). The original version of SAX, which was specific to Java, was the first API for XML in Java to gain broad industry support.