Introduction to PyXML

The PyXML package contains a validating XML parser, an implementation of the SAX and DOM programming interfaces, an interface to the Expat parser, and a C helper module that can speed up by a factor of five. This is useful for validating, parsing and manipulating XML files using Python programs.

Package Information

PyXML Dependencies



User Notes:

Installation of PyXML

Install PyXML by running the following commands:

python build

Now, as the root user:

python install &&
install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
install -v -m755 -d /usr/share/doc/PyXML-0.8.4 &&
cp -v -R doc demo test /usr/share/doc/PyXML-0.8.4 &&
install -v -m644 README* /usr/share/doc/PyXML-0.8.4

To run the regression tests, the package must first be installed. Then, as an unprivileged user, issue the following commands:

cd test &&
python &&
cd ..

Command Explanations

python build: This command copies the *.py files to a staging area and compiles the C extensions.

python install: This command installs the package.


Installed Programs: xmlproc_parse and xmlproc_val
Installed Libraries: PyXML Python library modules
Installed Directories: /usr/lib/python2.4/site-packages/_xmlplus and /usr/share/doc/PyXML-0.8.4

Short Descriptions


is a simple XML file parser using the xmlproc parser.


is a validating XML file parser using the xmlproc parser.

Last updated on 2007-01-18 13:38:19 -0600