SAX provides a mechanism for reading data from an XML document but it is not an alternative to the Document Object Model (DOM).
SAX provides a mechanism for reading data from an XML document. It provides an alternate way of reading XML documents from the Document Object Model (DOM).