Skip to main content

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

Project description

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

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
lxml-0.9.2-py2.4-freebsd-6.1-RELEASE-i386.egg (157.1 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-0.9.2-py2.4-linux-i686.egg (137.3 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-0.9.2-py2.4-linux-x86_64.egg (159.5 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-0.9.2-py2.4-win32.egg (123.8 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-0.9.2.tar.gz (258.2 kB) Copy SHA256 hash SHA256 Source None
lxml-0.9.2.win32-py2.4.exe (181.8 kB) Copy SHA256 hash SHA256 Windows Installer 2.4
lxml-0.9.2.win32-py2.4.static.exe (1.2 MB) Copy SHA256 hash SHA256 Windows Installer 2.4

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page