Python and XML - GBV
[Pages:4]Python and XML
Christopher A. Jones and Fred L. Drake, Jr.
ft
L .
- * - - '-'
O'REILLY8
Beijing ? Cambridge ? Farnham ? Koln ? Paris ? Sebastopol ? Taipei ? Tokyo
Table of Contents
Preface
'....
xi
1. Python and XML
1
Key Advantages of XML
2
The XML Specifications
7
The Power of Python and XML
9
What Can We Do with It?
16
2. XML Fundamentals
18
XML Structure in a Nutshell
18
Document Types and Schemas
19
Types of Conformance
22
Physical Structures
23
Constructing XML Documents
24
Document Type Definitions
34
Canonical XML
41
Going Beyond the XML Specification
43
3. The Simple API for XML
46
The Birth of SAX
46
Understanding SAX
47
Reading an Article
52
Searching File Information
56
Building an Image Index
65
Converting XML to HTML
69
Advanced Parser Factory Usage
76
Native Parser Interfaces
77
VII
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
5. Querying XML with XPath
XPath at a Glance Where Is XPath Used? Location Paths XPath Arithmetic Operators XPath Functions Compiling XPath Expressions
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
7. XML Validation and Dialects
Working with DTDs Validation at Runtime The BillSummary Example Dialects, Frameworks, and Workflow What Does ebXML Offer?
8. Python Internet APIs
Connecting Web Sites Working with URLs , Opening URLs Connecting with HTTP Using the Server Classes
viii I Table of Contents
80
80
83
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.