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 | RSS feed

Download files

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

Source Distribution

lxml-0.9.2.tar.gz (258.2 kB view hashes)

Uploaded source

Built Distributions

lxml-0.9.2.win32-py2.4.static.exe (1.2 MB view hashes)

Uploaded 2 4

lxml-0.9.2.win32-py2.4.exe (181.8 kB view hashes)

Uploaded 2 4

lxml-0.9.2-py2.4-win32.egg (123.8 kB view hashes)

Uploaded 2 4

lxml-0.9.2-py2.4-linux-x86_64.egg (159.5 kB view hashes)

Uploaded 2 4

lxml-0.9.2-py2.4-linux-i686.egg (137.3 kB view hashes)

Uploaded 2 4

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page