Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $31.99
Standard view
Full view
of .
Look up keyword or section
Like this
1Activity

Table Of Contents

Preface
Chapter 1
CHAPTER 1
Python and XML
Key Advantages of XML
Hierarchical Structure
Platform Neutrality
International Language Support
Namespaces in XML
The Power of Python and XML
Python Tools for XML
1. The Python standard library
What Can We Do with It?
Chapter 2
CHAPTER 2
XML Fundamentals
XML Structure in a Nutshell
Document Types and Schemas
Types of Conformance
Physical Structures
External entities
External DTD subset
Constructing XML Documents
The ISO-8859-1 character set
Processing Instructions
Document Type Definitions
Attribute Declarations
Canonical XML
Going Beyond the XML Specification
Chapter 3
CHAPTER 3
The Simple API for XML
The Birth of SAX
Understanding SAX
Converting XML to HTML
The Generated Document
Advanced Parser Factory Usage
Native Parser Interfaces
Chapter 4
CHAPTER 4
The Document Object Model
Understanding the DOM
Python DOM Offerings
Retrieving Information
Changing Documents
Building a Web Application
Going Beyond SAX and DOM
Chapter 5
CHAPTER 5
Querying XML with XPath
XPath at a Glance
Where Is XPath Used?
Location Paths
An Example Document
A Path Hosting Script
XPath Arithmetic Operators
XPath Functions
Compiling XPath Expressions
Chapter 6
CHAPTER 6
Transforming XML with XSLT
XSLT Processors
XSLT Processor
Defining Stylesheets
Embedded Stylesheets
Using XSLT from the Command Line
XSLT Elements
Iterating over Elements
A More Complex Example
Embedding XSLT Transformations in Python
Choosing a Technique
Chapter 7
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
CHAPTER 8
Python Internet APIs
Connecting Web Sites
Working with URLs
Unquoting URLs
Opening URLs
Connecting with HTTP
Using the Server Classes
Chapter 9
CHAPTER 9
Python, Web Services, and SOAP
Python Web Services Support
The Emerging SOAP Standard
The SOAPAction header
Python SOAP Options
Example SOAP Server and Client
Requirements for Using MSSOAP
What About XML-RPC?
Chapter 10
CHAPTER 10
Python and Distributed Systems Design
Sample Application and Flow Analysis
Decoupling Application Systems
Understanding the Scope
Building the Database
Building the Profiles Access Class
Creating an XML Data Store
The XML Switch
The XML Switch Service
The XML Switch Client
The XMLSwitchHandler Server Class
The CGI Functionality
APPENDIX A
Installing Python and XML Tools
XML Definitions
Attribute-List Declaration
Internal Entity Replacement Text
Process Declarations
Appendix C
APPENDIX C
Python SAX API
Python DOM API
APPENDIX E
Working with MSXML3.0
Appendix F
APPENDIX F
Additional Python XML Tools
XML Schema Validator
Online Resources
Index
P. 1
Python & XML

Python & XML

Ratings:

3.0

(6)
|Views: 35|Likes:

If you are a Python programmer who wants to incorporate XML into your skill set, this is the book for you. Python has attracted a wide variety of developers, who use it either as glue to connect critical programming tasks together, or as a complete cross-platform application development language. Yet, because it is object-oriented and has powerful text manipulation abilities, Python is an ideal language for manipulating XML.Python & XML gives you a solid foundation for using these two languages together. Loaded with practical examples, this new volume highlights common application tasks, so that you can learn by doing. The book starts with the basics then quickly progresses to complex topics, like transforming XML with XSLT, querying XML with XPath, and working with XML dialects and validation. It also explores the more advanced issues: using Python with SOAP and distributed web services, and using Python to create scalable streams between distributed applications (like databases and web servers).The book provides effective practical applications, while referencing many of the tools involved in XML processing and Python, and highlights cross-platform issues along with tasks relevant to enterprise computing. You will find ample coverage of XML flow analysis and details on ways in which you can transport XML through your network.Whether you are using Python as an application language, or as an administrative or middleware scripting language, you are sure to benefit from this book. If you want to use Python to manipulate XML, this is your guide.

If you are a Python programmer who wants to incorporate XML into your skill set, this is the book for you. Python has attracted a wide variety of developers, who use it either as glue to connect critical programming tasks together, or as a complete cross-platform application development language. Yet, because it is object-oriented and has powerful text manipulation abilities, Python is an ideal language for manipulating XML.Python & XML gives you a solid foundation for using these two languages together. Loaded with practical examples, this new volume highlights common application tasks, so that you can learn by doing. The book starts with the basics then quickly progresses to complex topics, like transforming XML with XSLT, querying XML with XPath, and working with XML dialects and validation. It also explores the more advanced issues: using Python with SOAP and distributed web services, and using Python to create scalable streams between distributed applications (like databases and web servers).The book provides effective practical applications, while referencing many of the tools involved in XML processing and Python, and highlights cross-platform issues along with tasks relevant to enterprise computing. You will find ample coverage of XML flow analysis and details on ways in which you can transport XML through your network.Whether you are using Python as an application language, or as an administrative or middleware scripting language, you are sure to benefit from this book. If you want to use Python to manipulate XML, this is your guide.

More info:

Published by: O'Reilly Media, Inc. on Nov 12, 2013
Copyright:Traditional Copyright: All rights reservedISBN:9781491948866
List Price: $31.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
This book can be read on up to 6 mobile devices.
See more
See less

04/07/2015

380

9781491948866

$31.99

USD

You're Reading a Free Preview
Pages 16 to 66 are not shown in this preview.
You're Reading a Free Preview
Pages 89 to 289 are not shown in this preview.
You're Reading a Free Preview
Pages 305 to 322 are not shown in this preview.
You're Reading a Free Preview
Pages 338 to 380 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->