InterviewSolution
| 1. |
How A Sax Parser Works? |
|
Answer» SAX (the Simple API for XML) is an event-based parser for xml documents.Unlike a DOM parser, a SAX parser creates no parse tree. SAX is a streaming INTERFACE for XML, which means that applications USING SAX receive event NOTIFICATIONS about the XML document being processed an ELEMENT, and attribute, at a time in sequential order starting at the top of the document, and ending with the CLOSING of the ROOT element. SAX (the Simple API for XML) is an event-based parser for xml documents.Unlike a DOM parser, a SAX parser creates no parse tree. SAX is a streaming interface for XML, which means that applications using SAX receive event notifications about the XML document being processed an element, and attribute, at a time in sequential order starting at the top of the document, and ending with the closing of the ROOT element. |
|