|
SAX is a standard interface for event based XML parsing.
SAX defines a number of events. It’s up to you to listen for them and respond to them.
The documents are accessed serially and an event is triggered at different parts of the document.
The common events are:
start of the document
start elements
characters
end elements
end of the document.
Basically you would write a program that has event handlers.
SAX is fast and has a low memory requirement.
SAX parsing is harder to setup. |