| |
| |
Foreword | |
| |
| |
Preface | |
| |
| |
| |
Working with XML | |
| |
| |
| |
XML and information systems | |
| |
| |
| |
Representing data digitally | |
| |
| |
| |
XML and digital data | |
| |
| |
| |
Information systems | |
| |
| |
| |
XML and information systems | |
| |
| |
| |
The XML processing model | |
| |
| |
| |
A bit of XML history | |
| |
| |
| |
An introduction to XML namespaces | |
| |
| |
| |
Documents and parsers | |
| |
| |
| |
The result of parsing | |
| |
| |
| |
Views of documents | |
| |
| |
| |
Documents viewed as events | |
| |
| |
| |
Documents viewed as trees | |
| |
| |
| |
Virtual views | |
| |
| |
| |
Virtual documents | |
| |
| |
| |
Common processing tasks | |
| |
| |
| |
Serialization and deserialization | |
| |
| |
| |
Transformation | |
| |
| |
| |
Validation | |
| |
| |
| |
Modification | |
| |
| |
| |
Information extraction | |
| |
| |
| |
Characters--the atoms of text | |
| |
| |
| |
Terminology | |
| |
| |
| |
Digital text | |
| |
| |
| |
Important character standards | |
| |
| |
| |
Characters in programming languages | |
| |
| |
| |
Further problems | |
| |
| |
| |
Event-based processing | |
| |
| |
| |
Event-based processing | |
| |
| |
| |
Benefits and disadvantages | |
| |
| |
| |
Writing event-based applications | |
| |
| |
| |
Tools for event-based processing | |
| |
| |
| |
RSS: An example application | |
| |
| |
| |
Using XML parsers | |
| |
| |
| |
xmlproc | |
| |
| |
| |
Pyexpat | |
| |
| |
| |
xmllib | |
| |
| |
| |
Xerces-C / Pirxx | |
| |
| |
| |
Working in Jython | |
| |
| |
| |
Choosing a parser | |
| |
| |
| |
SAX: an introduction | |
| |
| |
| |
Background and history | |
| |
| |
| |
Introduction | |
| |
| |
| |
The SAX classes | |
| |
| |
| |
Two example applications | |
| |
| |
| |
Python SAX utilities | |
| |
| |
| |
Using SAX | |
| |
| |
| |
An introduction to XBEL | |
| |
| |
| |
Thinking in SAX | |
| |
| |
| |
Application-specific data representations | |
| |
| |
| |
Example applications | |
| |
| |
| |
Tips and tricks | |
| |
| |
| |
Speed | |
| |
| |
| |
Advanced SAX | |
| |
| |
| |
The advanced parts of the API | |
| |
| |
| |
Parser filters | |
| |
| |
| |
Working with entities | |
| |
| |
| |
Mapping non-XML data to XML | |
| |
| |
| |
Tree-based processing | |
| |
| |
| |
DOM: an introduction | |
| |
| |
| |
Tree-based processing | |
| |
| |
| |
Getting to know DOM | |
| |
| |
| |
A DOM overview | |
| |
| |
| |
Fundamental DOM interfaces | |
| |
| |
| |
A simple example application | |
| |
| |
| |
Extended DOM interfaces | |
| |
| |
| |
Using DOM | |
| |
| |
| |
Creating DOM trees | |
| |
| |
| |
DOM serialization | |
| |
| |
| |
Some examples | |
| |
| |
| |
An example: a tree walker | |
| |
| |
| |
Advanced DOM | |
| |
| |
| |
Other DOM implementations | |
| |
| |
| |
The HTML part of the DOM | |
| |
| |
| |
DOM level 2 | |
| |
| |
| |
Future directions for DOM | |
| |
| |
| |
DOM performance | |
| |
| |
| |
Other tree-based APIs | |
| |
| |
| |
qp_xml | |
| |
| |
| |
Groves | |
| |
| |
| |
Declarative processing | |
| |
| |
| |
XSLT: an introduction | |
| |
| |
| |
Declarative processing | |
| |
| |
| |
XSLT background | |
| |
| |
| |
Introducing XSLT | |
| |
| |
| |
Two complete XSLT examples | |
| |
| |
| |
XSLT in more detail | |
| |
| |
| |
XPath in detail | |
| |
| |
| |
Advanced XSLT topics | |
| |
| |
| |
Advanced XSLT examples | |
| |
| |
| |
XSLT performance | |
| |
| |
| |
Using XSLT in applications | |
| |
| |
| |
The XSLT processor APIs | |
| |
| |
| |
Larger examples of XSLT programming | |
| |
| |
| |
Using XPath in software | |
| |
| |
| |
The future of XSLT | |
| |
| |
| |
Architectural forms | |
| |
| |
| |
Introduction to architectural forms | |
| |
| |
| |
Uses of architectural forms | |
| |
| |
| |
Architectural forms software | |
| |
| |
| |
An example | |
| |
| |
| |
XML development in Java | |
| |
| |
| |
SAX in Java | |
| |
| |
| |
XML and Java | |
| |
| |
| |
Java XML parsers | |
| |
| |
| |
The Java version of SAX | |
| |
| |
| |
JAXP | |
| |
| |
| |
Java SAX APIs | |
| |
| |
| |
Java SAX examples | |
| |
| |
| |
DOM in Java | |
| |
| |
| |
JAXP and the DOM | |
| |
| |
| |
The Java DOM APIs | |
| |
| |
| |
Using some Java DOMs | |
| |
| |
| |
JDOM | |
| |
| |
| |
Using XSLT in Java applications | |
| |
| |
| |
Using JAXP | |
| |
| |
| |
The Saxon XSLT processor | |
| |
| |
| |
The Xalan XSLT processor | |
| |
| |
| |
XML processing in depth | |
| |
| |
| |
Other approaches to processing | |
| |
| |
| |
Pull APIs | |
| |
| |
| |
Hybrid event/tree-based approaches | |
| |
| |
| |
Simplified approaches | |
| |
| |
| |
Schemas | |
| |
| |
| |
Schemas and XML | |
| |
| |
| |
Validating documents | |
| |
| |
| |
DTD programming | |
| |
| |
| |
Creating XML | |
| |
| |
| |
Creating XML from HTML | |
| |
| |
| |
Creating XML from SGML | |
| |
| |
| |
Creating XML from other document formats | |
| |
| |
| |
Creating XML from data formats | |
| |
| |
| |
The tabproc framework | |
| |
| |
| |
Input handling | |
| |
| |
| |
Generating XML from tables | |
| |
| |
| |
A SAX XMLReader interface | |
| |
| |
| |
Handling the XML output | |
| |
| |
| |
Examples of use | |
| |
| |
| |
The RSS development kit | |
| |
| |
| |
The RSS object structure | |
| |
| |
| |
The client kit | |
| |
| |
| |
The RSS email client | |
| |
| |
| |
The GUI RSS client | |
| |
| |
| |
The RSS editor | |
| |
| |
| |
Appendices | |
| |
| |
| |
A lightning introduction to Python | |
| |
| |
| |
A quick introduction | |
| |
| |
| |
Basic building blocks | |
| |
| |
| |
An example program | |
| |
| |
| |
Classes and objects | |
| |
| |
| |
Various useful APIs | |
| |
| |
| |
Glossary of terms | |
| |
| |
| |
CDATA marked sections | |
| |
| |
| |
Character data | |
| |
| |
| |
Character references | |
| |
| |
| |
Document element | |
| |
| |
| |
Document entity | |
| |
| |
| |
Document order | |
| |
| |
| |
Mixed content | |
| |
| |
| |
Processing instruction | |
| |
| |
| |
Replacement text | |
| |
| |
| |
Standalone declaration | |
| |
| |
| |
Text | |
| |
| |
| |
Text declaration | |
| |
| |
| |
XML declaration | |
| |
| |
| |
Python XML packages | |
| |
| |
| |
The Python interpreter | |
| |
| |
| |
The Python XML-SIG package | |
| |
| |
| |
4Suite | |
| |
| |
| |
Sab-pyth | |
| |
| |
| |
RXP | |
| |
| |
| |
pysp | |
| |
| |
| |
The easy ones | |
| |
| |
| |
Java packages | |
| |
| |
Index | |