Chapter 18. SAX 1.0

SAX is a standard software interface for event-driven processing of XML data, allowing parsers to deliver information to applications in digestible chunks. This chapter describes the SAX 1.0 standard in detail, and illustrates its use with a popular Java-based parser. SAX has been designed primarily to work with Java, though other language versions have been developed, or are in development, including VB, C++ and C# versions.

Although SAX 1.0 has now been superseded by SAX 2.0 (see Chapter 19), this is still the most universally supported version of the standard. It remains relevant, and SAX 2.0 processors retain backward compatibility with this version. Readers interested in SAX 2.0 should read this chapter first, as it covers ...

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.