The Simple API for XML (SAX) is a serial access parser API for XML. It is used to read, update, create and manipulate an XML document. Whenever the XML document executes, the SAX parser recognizes and responds to each XML structure taking some specified action based on the structure type.
It is an event-driven model for processing XML, which implements the technique to register the handler to invoke the callback methods whenever an event is generated. Event is generated when the parser encounters a new XML tag or encounters an error, or wants to tell anything else.
Read more at:
Liked it! Share this Tutorial