Sax2 (平装)

分类: 图书,进口原版书,Computers & Internet(计算机与网络),Programming(应用程序),Languages & Tools,
品牌: David Brownell
基本信息出版社:O'REILLY & ASSOC INC (2002年1月3日)平装:240页ISBN:0596002378条形码:9780596002374产品尺寸及重量:22.9 x 15.4 x 1.5 cm ; 318 gASIN:0596002378
商品描述内容简介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, generating your 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 own program 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 relationshipsbetween 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 restructure information in layers of processing which make it easy to reuse generic tools. 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.媒体推荐Until now, developers have had to rely on confusing and inadequate piecemeal documentation of this essential tool for processing XML information. Or they had to be content with the mini-tutorials found in books on XML. Written by an experienced XML developer in an accessible tutorial format, "SAX2" isn't just the most in-depth book available on the subject, it's the only book available.