Question - What is SAX in XML?
Answer -
SAX stands for Simple API for XML. It is a sequential access parser.
It provides a mechanism of reading data from an XML document. It is said to be an alternative to DOM. DOM operates on the documents as a whole, SAX parsers operate on each piece of the XML document sequentially.
SAX consumes less memory. It cannot be used to write an XML document.