PyXML-0.8.4

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 xmllib.py by a factor of five. This is useful for validating, parsing and manipulating XML files using Python programs.

Package Information

PyXML Dependencies

Required

Python-2.4.4

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/pyxml

Installation of PyXML

Install PyXML by running the following commands:

python setup.py build

Now, as the root user:

python setup.py 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 regrtest.py &&
cd ..

Command Explanations

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

python setup.py install: This command installs the package.

Contents

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

xmlproc_parse

is a simple XML file parser using the xmlproc parser.

xmlproc_val

is a validating XML file parser using the xmlproc parser.

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