Course PYT104
Advanced Python XML Document Processing
Advanced Python XML Document Processing
Duration: 3 Days
Synopsis
The course extends the basic techniques of XML document processing in Python to cover XPath, XSLT, XML Document Validation using DTDs. It also provides an introduction to XML-RPC and SOAP web services, XML-Schema and also to RDF/XML for metadata exchange.
Prerequisites
Attendees are expected to be experienced Python programmers and to have some familiarity with Regular Expressions, and with Python database programming, and to have a basic knowledge of XML and Python XML document processing using the SAX and DOM APIs.
Publicly scheduled dates, locations, and prices
A schedule of dates for this subject is not currently available. Please call Ajay Patel on 02086471939 to enquire about places and availability.
Contents
Overview of XML, SAX and DOM
Overview of Python XML processing resources
Installation and configuration of 4Suite
XPath
- Overview and rationale for XPath
- Overview of the 4XPath API
- Usage of XPath
- Location paths
- XPath arithmetic operations
- XPath functions
- Compiling XPath expressions for use with multiple documents
XSLT (Extensible Stylesheet Language Transformations)
- Overview of XSLT
- Stylesheet applications
- Embedded Stylesheets
- XSLT Elements
- Stylesheet Element
- Template Element
- Obtaining a node value
- Iterating over elements
- Working with File, Class and Method templates
- Embedding XSLT Transformations in Python
- Writing CGI Python scripts to integrate multiple stylesheets and manage the processing of XML documents
XML Document Validation
- Validating with internal and external DTD Subsets
- Python scripts for runtime XML Document Validation
- Python scripts for converting flat files to XML and then validating the resulting XML
- Introduction to ebXML, Dialects, Frameworks and Workflow
