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.

1.0.1 (2006-06-09)

Features added

  • Repeated calls to Element.attrib now efficiently return the same instance

Bugs fixed

  • Document deallocation could crash in certain garbage collection scenarios

  • Extension function calls in XSLT variable declarations could break the stylesheet and crash on repeated calls

  • Deep copying Elements could loose namespaces declared in parents

  • Deep copying Elements did not copy tail

  • Parsing file(-like) objects failed to load external entities

  • Parsing 8-bit strings from file(-like) objects raised an exception

  • xsl:include failed when the stylesheet was parsed from a file-like object

  • lxml.sax.ElementTreeProducer did not call startDocument() / endDocument()

  • MSVC compiler complained about long strings (supports only 2048 bytes)

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

lxml-1.0.1.tar.gz (373.1 kB view hashes)

Uploaded source

Built Distributions

lxml-1.0.1.win32-static-py2.4.exe (1.3 MB view hashes)

Uploaded 2 4

lxml-1.0.1.win32-py2.4.exe (203.8 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-win32.egg (145.6 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-win32-static.egg (1.2 MB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-macosx-10.4-ppc.egg (354.1 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-macosx-10.4-fat.egg (677.5 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-linux-x86_64.egg (167.3 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.4-linux-i686.egg (162.3 kB view hashes)

Uploaded 2 4

lxml-1.0.1-py2.3-linux-i686.egg (162.4 kB view hashes)

Uploaded 2 3

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