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

1.0.1

Download files

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

Files for lxml, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size lxml-1.0.1-py2.3-linux-i686.egg (162.4 kB) File type Egg Python version 2.3 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-freebsd-6.1-RELEASE-i386.egg (173.1 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-linux-i686.egg (162.3 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-linux-x86_64.egg (167.3 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-macosx-10.4-fat.egg (677.5 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-macosx-10.4-ppc.egg (354.1 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-win32.egg (145.6 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1-py2.4-win32-static.egg (1.2 MB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1.tar.gz (373.1 kB) File type Source Python version None Upload date Hashes View
Filename, size lxml-1.0.1.win32-py2.4.exe (203.8 kB) File type Windows Installer Python version 2.4 Upload date Hashes View
Filename, size lxml-1.0.1.win32-static-py2.4.exe (1.3 MB) File type Windows Installer Python version 2.4 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page