1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 <html xmlns="http://www.w3.org/1999/xhtml"><head> 3 4 <title>libxml2dom</title><meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/"> 5 <link href="styles.css" rel="stylesheet" type="text/css"></head> 6 <body> 7 <h1>libxml2dom</h1> 8 <p>The libxml2dom package provides a traditional DOM wrapper around the 9 Python bindings for <a href="http://www.xmlsoft.org">libxml2</a>. In 10 contrast 11 to the <a href="http://www.xmlsoft.org/python.html">standard libxml2 12 bindings</a>, libxml2dom provides an API reminiscent of <a href="http://docs.python.org/lib/module-xml.dom.minidom.html">minidom</a>, 13 <a href="http://www.doxdesk.com/software/py/pxdom.html">pxdom</a> and 14 other <a href="http://pyxml.sourceforge.net/topics/">Python-based and 15 Python-related XML toolkits</a>. Performance is 16 fairly respectable since libxml2dom makes direct use of libxml2mod - 17 the low-level wrapping of libxml2 for Python. Moreover, serialisation 18 of 19 documents is much faster than many other toolkits because libxml2dom 20 can make direct 21 use of libxml2 rather than employing Python-level mechanisms to visit 22 and serialise nodes.</p> 23 <h2>Copyright and Licence</h2> 24 <p>For reasons of consistency, libxml2dom uses the same MIT-style 25 licence as 26 libxml2. See the file <code>COPYING.txt</code> in the <code>docs</code> 27 directory within the source code distribution.</p> 28 <h2>Installation</h2> 29 <p>Given the availability of libxml2, libxml2dom only needs to reside 30 on the 31 PYTHONPATH and can be installed using the <code>setup.py</code> script 32 provided:</p> 33 <pre>python setup.py install</pre></body></html>