Warehouse Stock Clearance Sale

Grab a bargain today!


Sign Up for Fishpond's Best Deals Delivered to You Every Day
Go
Python & XML
XML Processing with Python

Rating
27 Ratings by Goodreads
Already own it? Write a review
Format
Paperback, 384 pages
Published
United States, 1 January 2002

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.


Fred L. Drake, Jr. is a member of the PythonLabs

team, and has been contributing to Python since

1995. He took over maintenance of Python's

documentation in 1998, changing the face of both

the printed and online forms. He has been active

in the PyXML project since it started, and helps

maintain the Expat XML parser, used in many major

applications that use XML, including PyXML, Apache,

and Mozilla. He holds a Bachelor of Architecture

degree as well as a Master of Science in computer

science.



Christopher A. Jones has an extensive background in Internet

systems programming and XML. He is the co-founder of Planet

7 Technologies, a Seattle-based commercial software company

specializing in XML transport software. He is also the author

of: Open Source Linux Web Programming (IDG 1999) and

UNIX Shell Objects (IDG 1998).


Dedication; Preface; Audience; Organization; Conventions Used in This Book; Using Code Examples; How to Contact Us; Acknowledgments; Chapter 1: Python and XML; 1.1 Key Advantages of XML; 1.2 The XML Specifications; 1.3 The Power of Python and XML; 1.4 What Can We Do with It?; Chapter 2: XML Fundamentals; 2.1 XML Structure in a Nutshell; 2.2 Document Types and Schemas; 2.3 Types of Conformance; 2.4 Physical Structures; 2.5 Constructing XML Documents; 2.6 Document Type Definitions; 2.7 Canonical XML; 2.8 Going Beyond the XML Specification; Chapter 3: The Simple API for XML; 3.1 The Birth of SAX; 3.2 Understanding SAX; 3.3 Reading an Article; 3.4 Searching File Information; 3.5 Building an Image Index; 3.6 Converting XML to HTML; 3.7 Advanced Parser Factory Usage; 3.8 Native Parser Interfaces; Chapter 4: The Document Object Model; 4.1 The DOM Specifications; 4.2 Understanding the DOM; 4.3 Python DOM Offerings; 4.4 Retrieving Information; 4.5 Changing Documents; 4.6 Building a Web Application; 4.7 Going Beyond SAX and DOM; Chapter 5: Querying XML with XPath; 5.1 XPath at a Glance; 5.2 Where Is XPath Used?; 5.3 Location Paths; 5.4 XPath Arithmetic Operators; 5.5 XPath Functions; 5.6 Compiling XPath Expressions; Chapter 6: Transforming XML with XSLT; 6.1 The XSLT Specification; 6.2 XSLT Processors; 6.3 Defining Stylesheets; 6.4 Using XSLT from the Command Line; 6.5 XSLT Elements; 6.6 A More Complex Example; 6.7 Embedding XSLT Transformations in Python; 6.8 Choosing a Technique; Chapter 7: XML Validation and Dialects; 7.1 Working with DTDs; 7.2 Validation at Runtime; 7.3 The BillSummary Example; 7.4 Dialects, Frameworks, and Workflow; 7.5 What Does ebXML Offer?; Chapter 8: Python Internet APIs; 8.1 Connecting Web Sites; 8.2 Working with URLs; 8.3 Opening URLs; 8.4 Connecting with HTTP; 8.5 Using the Server Classes; Chapter 9: Python, Web Services, and SOAP; 9.1 Python Web Services Support; 9.2 The Emerging SOAP Standard; 9.3 Python SOAP Options; 9.4 Example SOAP Server and Client; 9.5 What About XML-RPC?; Chapter 10: Python and Distributed Systems Design; 10.1 Sample Application and Flow Analysis; 10.2 Understanding the Scope; 10.3 Building the Database; 10.4 Building the Profiles Access Class; 10.5 Creating an XML Data Store; 10.6 The XML Switch; 10.7 Running the XML Switch; 10.8 A Web Application; Installing Python and XML Tools; Installing Python; Installing PyXML; Installing 4Suite; XML Definitions; XML Definitions; Python SAX API; Python DOM API; DOMException; DOMImplementation; DocumentFragment; Document; Node; NodeList; NamedNodeMap; CharacterData; Attr; Element; Text; Comment; CDATASection; DocumentType; Notation; Entity; EntityReference; ProcessingInstruction; 4DOM Extensions; Working with MSXML3.0; Setting Up MSXML3.0; Basic DOM Operations; MSXML3.0 Support for XSLT; Handling Parsing Errors; MSXML3.0 Reference; Additional Python XML Tools; Pyxie; Python XML Tools; XML Schema Validator; Sab-pyth; Redfoot; XML Components for Zope; Online Resources; Colophon;

Show more

Our Price
£22.31
Elsewhere
£31.99
Save £9.68 (30%)
Ships from UK Estimated delivery date: 14th Apr - 16th Apr from UK

Buy Together
+
Buy together with Hacking Vim 7.2 at a great price!
Buy Together
£46.13
Elsewhere Price
£47.30
You Save £1.17 (2%)

Product Description

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.


Fred L. Drake, Jr. is a member of the PythonLabs

team, and has been contributing to Python since

1995. He took over maintenance of Python's

documentation in 1998, changing the face of both

the printed and online forms. He has been active

in the PyXML project since it started, and helps

maintain the Expat XML parser, used in many major

applications that use XML, including PyXML, Apache,

and Mozilla. He holds a Bachelor of Architecture

degree as well as a Master of Science in computer

science.



Christopher A. Jones has an extensive background in Internet

systems programming and XML. He is the co-founder of Planet

7 Technologies, a Seattle-based commercial software company

specializing in XML transport software. He is also the author

of: Open Source Linux Web Programming (IDG 1999) and

UNIX Shell Objects (IDG 1998).


Dedication; Preface; Audience; Organization; Conventions Used in This Book; Using Code Examples; How to Contact Us; Acknowledgments; Chapter 1: Python and XML; 1.1 Key Advantages of XML; 1.2 The XML Specifications; 1.3 The Power of Python and XML; 1.4 What Can We Do with It?; Chapter 2: XML Fundamentals; 2.1 XML Structure in a Nutshell; 2.2 Document Types and Schemas; 2.3 Types of Conformance; 2.4 Physical Structures; 2.5 Constructing XML Documents; 2.6 Document Type Definitions; 2.7 Canonical XML; 2.8 Going Beyond the XML Specification; Chapter 3: The Simple API for XML; 3.1 The Birth of SAX; 3.2 Understanding SAX; 3.3 Reading an Article; 3.4 Searching File Information; 3.5 Building an Image Index; 3.6 Converting XML to HTML; 3.7 Advanced Parser Factory Usage; 3.8 Native Parser Interfaces; Chapter 4: The Document Object Model; 4.1 The DOM Specifications; 4.2 Understanding the DOM; 4.3 Python DOM Offerings; 4.4 Retrieving Information; 4.5 Changing Documents; 4.6 Building a Web Application; 4.7 Going Beyond SAX and DOM; Chapter 5: Querying XML with XPath; 5.1 XPath at a Glance; 5.2 Where Is XPath Used?; 5.3 Location Paths; 5.4 XPath Arithmetic Operators; 5.5 XPath Functions; 5.6 Compiling XPath Expressions; Chapter 6: Transforming XML with XSLT; 6.1 The XSLT Specification; 6.2 XSLT Processors; 6.3 Defining Stylesheets; 6.4 Using XSLT from the Command Line; 6.5 XSLT Elements; 6.6 A More Complex Example; 6.7 Embedding XSLT Transformations in Python; 6.8 Choosing a Technique; Chapter 7: XML Validation and Dialects; 7.1 Working with DTDs; 7.2 Validation at Runtime; 7.3 The BillSummary Example; 7.4 Dialects, Frameworks, and Workflow; 7.5 What Does ebXML Offer?; Chapter 8: Python Internet APIs; 8.1 Connecting Web Sites; 8.2 Working with URLs; 8.3 Opening URLs; 8.4 Connecting with HTTP; 8.5 Using the Server Classes; Chapter 9: Python, Web Services, and SOAP; 9.1 Python Web Services Support; 9.2 The Emerging SOAP Standard; 9.3 Python SOAP Options; 9.4 Example SOAP Server and Client; 9.5 What About XML-RPC?; Chapter 10: Python and Distributed Systems Design; 10.1 Sample Application and Flow Analysis; 10.2 Understanding the Scope; 10.3 Building the Database; 10.4 Building the Profiles Access Class; 10.5 Creating an XML Data Store; 10.6 The XML Switch; 10.7 Running the XML Switch; 10.8 A Web Application; Installing Python and XML Tools; Installing Python; Installing PyXML; Installing 4Suite; XML Definitions; XML Definitions; Python SAX API; Python DOM API; DOMException; DOMImplementation; DocumentFragment; Document; Node; NodeList; NamedNodeMap; CharacterData; Attr; Element; Text; Comment; CDATASection; DocumentType; Notation; Entity; EntityReference; ProcessingInstruction; 4DOM Extensions; Working with MSXML3.0; Setting Up MSXML3.0; Basic DOM Operations; MSXML3.0 Support for XSLT; Handling Parsing Errors; MSXML3.0 Reference; Additional Python XML Tools; Pyxie; Python XML Tools; XML Schema Validator; Sab-pyth; Redfoot; XML Components for Zope; Online Resources; Colophon;

Show more
Product Details
EAN
9780596001285
ISBN
0596001282
Publisher
Other Information
Illustrated
Dimensions
23.3 x 18 x 2.4 centimeters (0.63 kg)

Table of 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

About the Author

Christopher A. Jones has an extensive background in Internet systems programming and XML. He is the co-founder of Planet 7 Technologies, a Seattle-based commercial software company specializing in XML transport software. He is also the author of: Open Source Linux Web Programming (IDG 1999) and UNIX Shell Objects (IDG 1998). Fred L. Drake, Jr. is a member of the PythonLabs team, and has been contributing to Python since 1995. He took over maintenance of Python's documentation in 1998, changing the face of both the printed and online forms. He has been active in the PyXML project since it started, and helps maintain the Expat XML parser, used in many major applications that use XML, including PyXML, Apache, and Mozilla. He holds a Bachelor of Architecture degree as well as a Master of Science in computer science.

Reviews

"I'll use the word 'practical' again, because that sums up the tone of this book - it's about getting things done, and shows the processes in easy to understand chunks. There aren't great swathes of waffle, but there are plenty of examples. Appendices cover installation of necessary tools and the APIs for SAX and DOM, as well as a guide to MSXML and other Python tools available. Even the index is more comprehensive that the usual effort. Over 340 pages of real, practical, useful info here, well worth reading." - Nick Veitch, LinuxFormat, May 2002 "...does a great job of sticking to real-world, practical applications of these cutting edge technologies." - Martin Howse, LinuxUser & Developer, issue 31

Show more
Review this Product
Ask a Question About this Product More...
 
Item ships from and is sold by Fishpond World Ltd.

Back to top
We use essential and some optional cookies to provide you the best shopping experience. Visit our cookies policy page for more information.