skip to navigation
skip to content

lxml 2.2.2

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

Downloads ↓

Latest Version: 2.3.3

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the project home page or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at http://codespeak.net/svn/lxml/trunk . Running easy_install lxml==dev will install it from http://codespeak.net/svn/lxml/trunk#egg=lxml-dev

After an official release of a new stable series, current bug fixes become available at http://codespeak.net/svn/lxml/branch/lxml-2.2 . Running easy_install lxml==2.2bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-2.2#egg=lxml-2.2bugfix

2.2.2 (2009-06-21)

Features added

  • New helper functions strip_attributes(), strip_elements(), strip_tags() in lxml.etree to remove attributes/subtrees/tags from a subtree.

Bugs fixed

  • Namespace cleanup on subtree insertions could result in missing namespace declarations (and potentially crashes) if the element defining a namespace was deleted and the namespace was not used by the top element of the inserted subtree but only in deeper subtrees.
  • Raising an exception from a parser target callback didn't always terminate the parser.
  • Only {true, false, 1, 0} are accepted as the lexical representation for BoolElement ({True, False, T, F, t, f} not any more), restoring lxml <= 2.0 behaviour.

Other changes

 
File Type Py Version Uploaded on Size # downloads
lxml-2.2.2-py2.4-macosx-10.5-i386.egg (md5)
built on Darwin-9.7.0
Python Egg 2.4 2009-07-12 1MB 1290
lxml-2.2.2-py2.4-macosx-10.6-i386.egg (md5)
Built on Snow Leopard
Python Egg 2.4 2009-10-22 777KB 837
lxml-2.2.2-py2.4-win32.egg (md5)
built on Windows
Python Egg 2.4 2009-06-23 2MB 1316
lxml-2.2.2-py2.5-macosx-10.5-i386.egg (md5) Python Egg 2.5 2009-07-12 3MB 1771
lxml-2.2.2-py2.5-win32.egg (md5) Python Egg 2.5 2009-06-23 2MB 2963
lxml-2.2.2-py2.6-macosx-10.5-i386.egg (md5) Python Egg 2.6 2009-07-12 1MB 1301
lxml-2.2.2-py2.6-win-amd64.egg (md5) Python Egg 2.6 2009-09-15 2MB 992
lxml-2.2.2-py2.6-win32.egg (md5) Python Egg 2.6 2009-06-23 2MB 7836
lxml-2.2.2-py3.0-win32.egg (md5) Python Egg 3.0 2009-06-23 2MB 1109
lxml-2.2.2.tar.gz (md5, pgp) Source 2009-06-21 2MB 8773
lxml-2.2.2.win-amd64-py2.6.exe (md5) MS Windows installer 2.6 2009-09-15 2MB 850
lxml-2.2.2.win32-py2.4.exe (md5) MS Windows installer 2.4 2009-06-23 2MB 1753
lxml-2.2.2.win32-py2.5.exe (md5) MS Windows installer 2.5 2009-06-23 2MB 2022
lxml-2.2.2.win32-py2.6.exe (md5) MS Windows installer 2.6 2009-06-23 2MB 5021
lxml-2.2.2.win32-py3.0.exe (md5) MS Windows installer 3.0 2009-06-23 2MB 769
lxml-2.2.2.win32-py3.1.exe (md5) MS Windows installer 3.1 2009-09-15 2MB 4477