E-Book Overview
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 SAX2, developers have access to 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. 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 SAX2 API is quite approachable, many of its more advanced features are both obscure and powerful. SAX2 also has some significant limitations that applications need to address in their own 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.
E-Book Content
,Title.19243 Page 1 Monday, January 7, 2002 5:01 PM
SAX2
,Title.19243 Page 2 Monday, January 7, 2002 5:01 PM
,Title.19243 Page 3 Monday, January 7, 2002 5:01 PM
SAX2
David Brownell
Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo
,Copyright.19116 Page iv Monday, January 7, 2002 5:01 PM
SAX2 by David Brownell Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly & Associates books may be purchased for