SAX2: Processing Xml Efficiently With Java

byDavid Brownell

Paperback | January 13, 2002

SAX2: Processing Xml Efficiently With Java by David Brownell
Earn 225 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


This concise book gives you the information you need to effectively use the Simple API for XML (SAX2), the dominant API for efficient XML processing with Java. With the SAX2 API, developers have access to the information in XML documents as they are read, without imposing major memory constraints or a large code footprint. SAX2 is often used by other APIs "under the covers", and provides a foundation for processing and creating both XML and non-XML information.While generally considered the most efficient approach to handling XML document parsing, SAX2 also carries a significant learning curve. In SAX2, author David Brownell explores the many details of managing XML parsers, filtering the information those parsers return, generatingyour own SAX2 events to convert non-XML information to an XML form, and developing strategies for using event-based parsing in a variety of application scenarios.Created in a public process by the XML-Dev mailing list, the SAX2 API is compact and highly functional. SAX2 uses callbacks to report the information in an XML document as the document is read, allowing you to create your ownprogram structures around the content of documents. No intermediary model of an entire XML document is necessary, and the mapping from XML structures to Java structures and back is straightforward.Both developers learning about SAX2 for the first time and developers returning for reference and advanced material about SAX2 will find useful information in this book. Chapters provide detailed explanations and examples of many different aspects of SAX2 development, while appendices provide a reference to the API and an explanation of the relationships between the SAX2 API and the XML Information Set.While the core of the API is quite approachable, many of its more advanced features are both obscure and powerful. You can use SAX2 to filter, modify, and restructureinformation in layers of processing which make it easy to reuse generic tools. SAX2 also has some significant limitations that applications need to address in theirown ways. This new book gives you the detail and examples required to use SAX2 to its full potential, taking advantage of its power while avoiding its limitations.

Preface; Who Should Read This Book?; Organization of This Book; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: The Simple API for XML; 1.1 Types of XML APIs; 1.2 Why Choose SAX?; 1.3 Why Not to Choose SAX?; 1.4 A Short History of SAX; 1.5 Packages in the SAX2 API; 1.6 Some Popular SA...
Title:SAX2: Processing Xml Efficiently With JavaFormat:PaperbackProduct dimensions:240 pages, 9 X 6 X 0.59 inShipping dimensions:240 pages, 9 X 6 X 0.59 inPublished:January 13, 2002Publisher:O'Reilly MediaLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0596002378

ISBN - 13:9780596002374

Appropriate for ages: All ages

Look for similar items by category: