libxml2dom

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.

Copyright and Licence

For reasons of consistency, libxml2dom uses the same MIT-style licence as libxml2. See the file COPYING.txt in the docs directory within the source code distribution.

Installation

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