-
Chapter 1 Python and XML
-
Key Advantages of XML
-
The XML Specifications
-
The Power of Python and XML
-
What Can We Do with It?
-
-
Chapter 2 XML Fundamentals
-
XML Structure in a Nutshell
-
Document Types and Schemas
-
Types of Conformance
-
Physical Structures
-
Constructing XML Documents
-
Document Type Definitions
-
Canonical XML
-
Going Beyond the XML Specification
-
-
Chapter 3 The Simple API for XML
-
The Birth of SAX
-
Understanding SAX
-
Reading an Article
-
Searching File Information
-
Building an Image Index
-
Converting XML to HTML
-
Advanced Parser Factory Usage
-
Native Parser Interfaces
-
-
Chapter 4 The Document Object Model
-
The DOM Specifications
-
Understanding the DOM
-
Python DOM Offerings
-
Retrieving Information
-
Changing Documents
-
Building a Web Application
-
Going Beyond SAX and DOM
-
-
Chapter 5 Querying XML with XPath
-
XPath at a Glance
-
Where Is XPath Used?
-
Location Paths
-
XPath Arithmetic Operators
-
XPath Functions
-
Compiling XPath Expressions
-
-
Chapter 6 Transforming XML with XSLT
-
The XSLT Specification
-
XSLT Processors
-
Defining Stylesheets
-
Using XSLT from the Command Line
-
XSLT Elements
-
A More Complex Example
-
Embedding XSLT Transformations in Python
-
Choosing a Technique
-
-
Chapter 7 XML Validation and Dialects
-
Working with DTDs
-
Validation at Runtime
-
The BillSummary Example
-
Dialects, Frameworks, and Workflow
-
What Does ebXML Offer?
-
-
Chapter 8 Python Internet APIs
-
Connecting Web Sites
-
Working with URLs
-
Opening URLs
-
Connecting with HTTP
-
Using the Server Classes
-
-
Chapter 9 Python, Web Services, and SOAP
-
Python Web Services Support
-
The Emerging SOAP Standard
-
Python SOAP Options
-
Example SOAP Server and Client
-
What About XML-RPC?
-
-
Chapter 10 Python and Distributed Systems Design
-
Sample Application and Flow Analysis
-
Understanding the Scope
-
Building the Database
-
Building the Profiles Access Class
-
Creating an XML Data Store
-
The XML Switch
-
Running the XML Switch
-
A Web Application
-
-
Appendix A Installing Python and XML Tools
-
Installing Python
-
Installing PyXML
-
Installing 4Suite
-
-
Appendix B XML Definitions
-
XML Definitions
-
-
Appendix C Python SAX API
-
Appendix D Python DOM API
-
DOMException
-
DOMImplementation
-
DocumentFragment
-
Document
-
Node
-
NodeList
-
NamedNodeMap
-
CharacterData
-
Attr
-
Element
-
Text
-
Comment
-
CDATASection
-
DocumentType
-
Notation
-
Entity
-
EntityReference
-
ProcessingInstruction
-
4DOM Extensions
-
-
Appendix E Working with MSXML3.0
-
Setting Up MSXML3.0
-
Basic DOM Operations
-
MSXML3.0 Support for XSLT
-
Handling Parsing Errors
-
MSXML3.0 Reference
-
-
Appendix F Additional Python XML Tools
-
Pyxie
-
Python XML Tools
-
XML Schema Validator
-
Sab-pyth
-
Redfoot
-
XML Components for Zope
-
Online Resources
-
-
Colophon
- Title:
- Python & XML
- By:
- Christopher A. Jones, Fred L. Drake Jr
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- December 2001
- Pages:
- 384
- Print ISBN:
- 978-0-596-00128-5
- | ISBN 10:
- 0-596-00128-2
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Python and XML are elephant shrews. Different types of elephant shrews are found throughout Africa, most residing along the coast. The elephant shrew's long nose, which resembles an elephant's trunk, is the source of its name. The shrew pokes this trunk under leaves and, with its even longer tongue, flicks food into its mouth. It feeds mostly on termites and ants, but also eats shoots, berries, and roots.
Elephant shrews have long, soft fur that is sandy brown on the surface, fading to pale orange or gray. Their bodies range from 3.7 to 4 inches in length, and their tails, 3.7 to 5 inches. They weigh between 1 and 1.7 ounces. Elephant shrews grow to full size in about 46 days, and leave their shelters anywhere from 18 to 36 days after birth. Because they mature and leave their nests so quickly, predators rarely invade the nests.
Most elephant shrews do not burrow, as their feet are not well adapted for digging, but instead find depressions in the ground in which to nest. As they settle into these depressions, they pull leaves and debris over their heads for cover. The elephant shrew is very territorial, as it is mainly a solitary animal. When others approach, the shrew will break into a sudden flurry of kicking, screaming, sparring, and snapping until it is alone once more. Mary Brady was the production editor and copyeditor for Python and XML. David Futato was the proofreader. Matt Hutchinson and Claire Cloutier provided quality control. Edith Shapiro and Camilla Ammirati provided production support. Johnna VanHoose Dinse wrote the index.
Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original illustration from Mammalia. Emma Colby produced the cover layout with QuarkXPress 4.1, using Adobe's ITC Garamond font.
David Futato designed the interior layout. Mihaela Maier converted the files from Microsoft Word to FrameMaker 5.5.6, using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia Free-Hand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Linley Dolby.
Whenever possible, our books use a durable and flexible lay-flat binding.
