skip to navigation
skip to content

Not Logged In

lxml 0.9.2

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

Latest Version: 2.1.1

lxml is a Pythonic 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.

0.9.2 (2006-05-10)

Features added

  • Speedup for Element.makeelement(): the new element now reuses the original libxml2 document instead of creating a new empty one
  • Speedup for reversed() iteration over element children (Py2.4+ only)
  • ElementTree compatible QName class
  • RelaxNG and XMLSchema now accept any Element, not only ElementTrees

Bugs fixed

  • str(xslt_result) was broken for XSLT output other than UTF-8
  • Memory leak if write_c14n fails to write the file after conversion
  • Crash in XMLSchema and RelaxNG when passing non-schema documents
  • Memory leak in RelaxNG() when RelaxNGParseError is raised
File Type Py Version Size # downloads
lxml-0.9.2-py2.4-linux-i686.egg (md5)
contributed by Olivier Grisel
Python Egg 2.4 134KB 346
lxml-0.9.2-py2.4-win32.egg (md5)
contributed by Steve Howe
Python Egg 2.4 120KB 338
lxml-0.9.2-py2.4-linux-x86_64.egg (md5, pgp)
built on Linux-2.6.16-20060329183759-x86_64-with-glibc2.2.5
Python Egg 2.4 155KB 341
lxml-0.9.2.win32-py2.4.exe (md5)
contributed by Steve Howe
MS Windows installer 2.4 177KB 119
lxml-0.9.2-py2.4-freebsd-6.1-RELEASE-i386.egg (md5)
contributed by Steve Howe
Python Egg 2.4 153KB 313
lxml-0.9.2.win32-py2.4.static.exe (md5)
Windows installer which includes libxml2/libxslt - no separate install of those necessary. Contributed by David Sankel
MS Windows installer 2.4 1MB 136
lxml-0.9.2.tar.gz (md5, pgp) Source 252KB 171