The libxml2dom package provides a traditional DOM wrapper around the Python bindings for libxml2. In contrast to the standard libxml2 bindings, libxml2dom provides an API reminiscent of minidom, pxdom and other Python-based and Python-related XML toolkits. Performance is fairly respectable since libxml2dom makes direct use of libxml2mod - the low-level wrapping of libxml2 for Python. Moreover, serialisation of documents is much faster than many other toolkits because libxml2dom can make direct use of libxml2 rather than employing Python-level mechanisms to visit and serialise nodes.
See the COPYING.txt
and LICENCE.txt
files
in the docs
directory
in the distribution. libxml2dom is licensed under the LGPL.
Given the availability of libxml2, libxml2dom only needs to reside
on the
PYTHONPATH and can be installed using the setup.py
script
provided:
python setup.py install