Introduction
Who should read this tutorial?
Many XML related technologies are no more than specifications for a standard way for information to be processed and interpreted. This is no different with the Document Object Model (DOM), which provides a standard way for users to access and manipulate an XML document. There are various DOM implementations, in various computer languages. Here, we will be introducing Fourthought's PyXml. This particular implementation is written in Python.
This tutorial is written for users who are familiar with XML/DOM and Python, with more emphasis on the latter. Since DOM is no more than an Application Programming Interface (API), knowledge of Python is more important than knowledge of XML to follow this tutorial. Minimal knowledge of XML (specifically DOM) is also necessary, since the focus is on a DOM tool, not the DOM specification itself. You should keep referential material within reach, and you will find it very useful to have a copy of the DOM specification open. Appropriate links and sources are listed in the Resources section at the end of the tutorial.
The following packages are required to follow this tutorial:
- Python 2.1: Python is the object oriented language that PyXml is written in.
- PyXml: PyXml is one of the many DOM implementations. This one is written in Python and is packaged as a Python library.
In addition, you should read the DOM Level 2 Specification, which underlies this tutorial to a large extent.
Getting help and finding out more
For technical questions about the content of this tutorial, contact the authors, Uche Ogbuji (uche.ogbuji@fourthought.com) and Chimezie Ogbuji (chimezie.ogbuji@fourthought.com).

