Background

SAX (Simple API for XML) Version 1.0 was released in May 1998, and is free for both private and commercial use. The standard is available from www.megginson.com/SAX/index.htm.

SAX is an API for event-driven processing of XML (the general nature and benefits of this approach are explored in Chapter 16).

A large number of SAX-compliant parsers have been developed, in an increasing number of computer languages, and most are freely available from the Web. But SAX has its origins as a Java-based technology. Most of the SAX-compliant parsers are Java applications, and this language has therefore been chosen for the examples that follow.

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.