skip to navigation
skip to content

Not Logged In

lxml 1.1

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

Latest Version: 2.1.2

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.1 (2006-09-13)

Features added

  • Comments and processing instructions return '<!-- coment -->' and '<?pi-target content?>' for repr()
  • Parsers are now the preferred (and default) place where element class lookup schemes should be registered. Namespace lookup is no longer supported by default.

Bugs fixed

  • filenames with local 8-bit encoding were not supported
  • 1.1beta did not compile under Python 2.3
  • ignore unknown 'pyval' attribute values in objectify
  • objectify.ObjectifiedElement.addattr() failed to accept Elements and Lists
  • objectify.ObjectPath.setattr() failed to accept Elements and Lists
File Type Py Version Size # downloads
lxml-1.1.win32-py2.4.exe (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
MS Windows installer 2.4 2MB 202
lxml-1.1-py2.4-win32.egg (md5)
contributed by Ashish Kulkarni, static build including libxml2/libxslt
Python Egg 2.4 2MB 371
lxml-1.1-py2.4-linux-x86_64.egg (md5, pgp)
built on Linux-2.6.16.21-0.13-default-x86_64-with-glibc2.2.5
Python Egg 2.4 256KB 330
lxml-1.1.tar.gz (md5, pgp) Source 497KB 209