Generate Sequence of Events while parsing the Document

  • technical realization - using callback methods

  • application implements handlers (processing the generated events)

  • event-based API:

    • works on lower-level than tree-based

    • application should do more processing

    • saves memory - does not create any persistent objects.