What is an Event-Based API?
- Event-Based APIs report parsing events directly to
the application through callbacks.
- Start Element
- Start Document
- End Element
- Application implements handlers to deal with events
- Event-Based API provides a simpler, lower-level access to
an XML document
- Possible to parse large documents much larger than system memory
- Application constructs data structure using callback event handlers