Résumé
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 anexplanation 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 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.
Contents
Preface
Chapter 1. The Simple API for XML
Chapter 2. Introducing SAX2
Chapter 3. Producing SAX2 Events
Chapter 4. Consuming SAX2 Events
Chapter 5. Other SAX Classes
Chapter 6. Putting It All Together
Appendix A. SAX2 API Summary
Appendix B. SAX2 and the XML Infoset
Index
L'auteur - David Brownell
David Brownell est ingénieur en informatique, il s'est
impliqué dans le projet SAX depuis que la spécification XML
1.0 est effective. Il a participé activement au maintien
des API SAX ainsi qu'à l'implémentation de GNUJAXP. Il a
également été responsable de la veille technologique de
Java XML à l'époque où il travaillait pour Sun, notamment
pour l'intégration du support de SAX dans l'infrastructure
internet des servlets.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | David Brownell |
Parution | 21/01/2002 |
Nb. de pages | 216 |
Format | 15 x 22,9 |
Couverture | Broché |
Poids | 320g |
Intérieur | Noir et Blanc |
EAN13 | 9780596002374 |
ISBN13 | 978-0-596-00237-4 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Développement d'applications Conception et développement web
- Informatique Développement d'applications Conception et développement web Services Web
- Informatique Développement d'applications Langages HTML
- Informatique Développement d'applications Langages XML
- Informatique Développement d'applications Langages XSLT