PPT Slide
3.0 Further acronyms SAX (simple API for XML) and DOM (document object model).
- Both SAX and DOM are application programming interfaces which basically equates to a set of classes that define a standard set of mechanisms to read and write XML data.
- The SAX API is an event-driven protocol, because the technique works by first registering handlers with the SAX parser, after which the parser invokes the callback methods whenever it sees an XML tag.
- The methods in this handler class perform the application-specific functionality during the parse.
- The SAX API is one of the simplest interfaces to use and handle XML.
- There are a number of implementations in different programming languages (C, java, C++, etc).
Database with XML objects utilizing SAX parser written in C
Java front-end server to database retrieving XML data using SAX parser in java, “stylizing” the output & returning it to requesting Clients
Client browser, application, email, etc. retrieves and interprets returned data