
SAX: The Alternative API
By definition, the DOM recommendation does not apply to event-based
parsers. The members of the XML-DEV mailing list have developed a stan-
dard API for event-based parsers called SAX, short for the Simple API for
XML.
SAX is defined for the Java language. There is a version of SAX for Python
and Perl but currently none for JavaScript or C++. Furthermore, SAX is
not implemented in browsers; it is available only for standalone parsers.
Obviously, the examples in this chapter are written in Java. If you want to
learn how to write Java applications, refer to Appendix A, “Crash Course on
Java.”
SAX is edited by David Megginson and ...