0 votes
in XML by
Can you please help to explain what is SAX in XML?

1 Answer

0 votes
by

1) SAX stands for Simple API for XML. It is a sequential access parser.

2) 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.

3) SAX consumes less memory. It cannot be used to write an XML document.

Related questions

0 votes
asked Sep 20, 2020 in XML by Robindeniel
0 votes
asked Sep 19, 2020 in XML by SakshiSharma
...