skip to navigation
skip to content

lxml 2.2.2

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

Latest Version: 2.2.4

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.5-win32.egg (md5) Python Egg 2.5 2009-06-23 06:13:05.123667 2MB 1802
lxml-2.2.2-py2.4-win32.egg (md5)
built on Windows
Python Egg 2.4 2009-06-23 06:28:51.134393 2MB 512
lxml-2.2.2-py2.6-win-amd64.egg (md5) Python Egg 2.6 2009-09-15 03:06:27.351750 2MB 150
lxml-2.2.2.win-amd64-py2.6.exe (md5) MS Windows installer 2.6 2009-09-15 03:04:36.668354 2MB 257
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 21:01:08.957895 1MB 591
lxml-2.2.2-py3.0-win32.egg (md5) Python Egg 3.0 2009-06-23 06:24:18.945440 2MB 217
lxml-2.2.2.tar.gz (md5, pgp) Source 2009-06-21 09:52:16.117105 2MB 3935
lxml-2.2.2-py2.5-macosx-10.5-i386.egg (md5) Python Egg 2.5 2009-07-12 21:18:54.465778 3MB 1002
lxml-2.2.2-py2.6-macosx-10.5-i386.egg (md5) Python Egg 2.6 2009-07-12 21:23:56.687923 1MB 644
lxml-2.2.2.win32-py2.6.exe (md5) MS Windows installer 2.6 2009-06-23 06:30:40.449037 2MB 2452
lxml-2.2.2-py2.6-win32.egg (md5) Python Egg 2.6 2009-06-23 06:15:51.986078 2MB 1542
lxml-2.2.2.win32-py3.0.exe (md5) MS Windows installer 3.0 2009-06-23 06:21:06.028015 2MB 318
lxml-2.2.2.win32-py2.4.exe (md5) MS Windows installer 2.4 2009-06-23 06:27:19.007536 2MB 711
lxml-2.2.2-py2.4-macosx-10.6-i386.egg (md5)
Built on Snow Leopard
Python Egg 2.4 2009-10-22 15:45:14.581399 777KB 104
lxml-2.2.2.win32-py2.5.exe (md5) MS Windows installer 2.5 2009-06-23 06:10:02.489281 2MB 1294
lxml-2.2.2.win32-py3.1.exe (md5) MS Windows installer 3.1 2009-09-15 03:50:08.710208 2MB 244

Log in to rate this package.