Book description
XML is a text-based markup language that has taken the programming world by storm. More powerful than HTML yet less demanding than SGML, XML has proven itself to be flexible and resilient. XML is the perfect tool for formatting documents with even the smallest bit of complexity, from Web pages to legal contracts to books. However, XML has also proven itself to be indispensable for organizing and conveying other sorts of data as well, thus its central role in web services like SOAP and XML-RPC.As the Perl programming language was tailor-made for manipulating text, few people have disputed the fact that Perl and XML are perfectly suited for one another. The only question has been what's the best way to do it. That's where this book comes in.Perl & XML is aimed at Perl programmers who need to work with XML documents and data. The book covers all the major modules for XML processing in Perl, including XML::Simple, XML::Parser, XML::LibXML, XML::XPath, XML::Writer, XML::Pyx, XML::Parser::PerlSAX, XML::SAX, XML::SimpleObject, XML::TreeBuilder, XML::Grove, XML::DOM, XML::RSS, XML::Generator::DBI, and SOAP::Lite. But this book is more than just a listing of modules; it gives a complete, comprehensive tour of the landscape of Perl and XML, making sense of the myriad of modules, terminology, and techniques.This book covers:
- parsing XML documents and writing them out again
- working with event streams and SAX
- tree processing and the Document Object Model
- advanced tree processing with XPath and XSLT
Table of contents
- A Note Regarding Supplemental Files
- Preface
- 1. Perl and XML
-
2. An XML Recap
- 2.1. A Brief History of XML
- 2.2. Markup, Elements, and Structure
- 2.3. Namespaces
- 2.4. Spacing
- 2.5. Entities
- 2.6. Unicode, Character Sets, and Encodings
- 2.7. The XML Declaration
- 2.8. Processing Instructions and Other Markup
- 2.9. Free-Form XML and Well-Formed Documents
- 2.10. Declaring Elements and Attributes
- 2.11. Schemas
- 2.12. Transformations
- 3. XML Basics: Reading and Writing
- 4. Event Streams
- 5. SAX
- 6. Tree Processing
-
7. DOM
- 7.1. DOM and Perl
- 7.2. DOM Class Interface Reference
- 7.3. XML::DOM
- 7.4. XML::LibXML
- 8. Beyond Trees: XPath, XSLT, and More
- 9. RSS, SOAP, and Other XML Applications
- 10. Coding Strategies
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Perl and XML
- Author(s):
- Release date: April 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596002053
You might also like
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Effective C
The world runs on code written in the C programming language, yet most schools begin the …