- ホーム
- > 洋書
- > 英文書
- > Internet / Web Programming
Full Description
Python is a language for manipulating XML, and this volume offers a solid foundation for using these two languages together. Complete with practical examples that highlight common application tasks, the book starts with the basics then quickly progresses to more complex topics such as transforming XML with XSLT and querying XML with XPath. It also explores more advanced subjects, such as SOAP and distributed web services.
Contents
Preface 1. Python and XML Key Advantages of XML The XML Specifications The Power of Python and XML What Can We Do with It? 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 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 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 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? 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 A. Installing Python and XML Tools B. XML Definitions C. Python SAX API D. Python DOM API E. Working with MSXML3.0 F. Additional Python XML Tools Index