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.1 (2006-03-30)

Features added

  • lxml.sax.ElementTreeContentHandler checks closing elements and raises SaxError on mismatch

  • lxml.sax.ElementTreeContentHandler now supports namespace-less SAX events (startElement, endElement) and defaults to empty attributes (keyword argument)

  • Speedup for repeatedly accessing element tag names

  • Minor API performance improvements

Bugs fixed

  • Memory deallocation bug when using XSLT output method “html”

  • was handling UTF-8 encoded tag names where it shouldn’t

  • lxml.tests package will no longer be installed (is still in source tar)

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.1.tar.gz (256.0 kB view hashes)

Uploaded source

Built Distributions

lxml-0.9.1.win32-py2.4.exe (155.1 kB view hashes)

Uploaded 2 4

lxml-0.9.1-py2.4-win32.egg (127.7 kB view hashes)

Uploaded 2 4

lxml-0.9.1-py2.4-macosx-10.4-ppc.egg (307.8 kB view hashes)

Uploaded 2 4

lxml-0.9.1-py2.4-linux-x86_64.egg (160.6 kB view hashes)

Uploaded 2 4

lxml-0.9.1-py2.4-linux-i686.egg (142.0 kB view hashes)

Uploaded 2 4

lxml-0.9.1-py2.3-linux-i686.egg (498.0 kB view hashes)

Uploaded 2 3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page