skip to navigation
skip to content

Not Logged In

lxml 1.1.1

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

Latest Version: 2.1.1

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.

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at http://codespeak.net/svn/lxml/trunk . Running easy_install lxml==dev will install it from http://codespeak.net/svn/lxml/trunk#egg=lxml-dev

Current bug fixes for the stable version are at http://codespeak.net/svn/lxml/branch/lxml-1.1 . Running easy_install lxml==lxml-1.1bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-1.1#egg=lxml-1.1bugfix

1.1.1 (2006-09-21)

Features added

  • XSLT profiling support (profile_run keyword)
  • countchildren() method on objectify.ObjectifiedElement
  • Support custom elements for tree nodes in lxml.objectify

Bugs fixed

  • lxml.objectify failed to support long data values (e.g., "123L")
  • Error messages from XSLT did not reach XSLT.error_log
  • Factories objectify.Element() and objectify.DataElement() were missing attrib and nsmap keyword arguments
  • Changing the default parser in lxml.objectify did not update the factories Element() and DataElement()
  • Let lxml.objectify.Element() always generate tree elements (not data elements)
  • Build under Windows failed ('0' bug in patched Pyrex version)
File Type Py Version Size # downloads
lxml-1.1.1.win32-py2.4.exe (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
MS Windows installer 2.4 2MB 1230
lxml-1.1.1-py2.4-linux-i686.egg (md5)
built on Linux-2.6.15-26-686-i686-with-glibc2.3
Python Egg 2.4 238KB 422
lxml-1.1.1-py2.5-linux-x86_64.egg (md5, pgp)
built on Linux-2.6.16.21-0.21-default-x86_64-with-glibc2.2.5
Python Egg 2.5 1MB 313
lxml-1.1.1.tar.gz (md5, pgp) Source 503KB 267
lxml-1.1.1-py2.4-linux-x86_64.egg (md5, pgp)
built on Linux-2.6.16.21-0.21-default-x86_64-with-glibc2.2.5
Python Egg 2.4 256KB 316
lxml-1.1.1.win32-py2.5.exe (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
MS Windows installer 2.5 2MB 298
lxml-1.1.1-py2.3-linux-i686.egg (md5)
built on Linux-2.6.15-26-686-i686-with-glibc2.3
Python Egg 2.3 753KB 289
lxml-1.1.1-py2.5-win32.egg (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
Python Egg 2.5 2MB 342
lxml-1.1.1-py2.4-win32.egg (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
Python Egg 2.4 2MB 363