skip to navigation
skip to content

Not Logged In

lxml 1.0.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.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)
File Type Py Version Size # downloads
lxml-1.0.1.tar.gz (md5, pgp) Source 364KB 215
lxml-1.0.1-py2.4-macosx-10.4-ppc.egg (md5)
contributed by Georges Racinet
Python Egg 2.4 345KB 298
lxml-1.0.1.win32-py2.4.exe (md5)
contributed by Steve Howe
MS Windows installer 2.4 198KB 144
lxml-1.0.1-py2.4-freebsd-6.1-RELEASE-i386.egg (md5)
contributed by Steve Howe
Python Egg 2.4 169KB 309
lxml-1.0.1-py2.4-win32.egg (md5)
contributed by Steve Howe
Python Egg 2.4 142KB 359
lxml-1.0.1-py2.3-linux-i686.egg (md5)
built on Linux-2.6.12-10-686-i686-with-glibc2.3
Python Egg 2.3 158KB 310
lxml-1.0.1-py2.4-win32-static.egg (md5)
contributed by Steve Howe, libxml2/libxslt statically built into lxml.etree
Python Egg 2.4 1MB 333
lxml-1.0.1-py2.4-macosx-10.4-fat.egg (md5)
contributed by Olivier Grisel, for PPC and Intel
Python Egg 2.4 661KB 342
lxml-1.0.1-py2.4-linux-i686.egg (md5)
built on Linux-2.6.12-10-686-i686-with-glibc2.3
Python Egg 2.4 158KB 386
lxml-1.0.1-py2.4-linux-x86_64.egg (md5, pgp)
built on Linux-2.6.16.16-20060519111355-x86_64-with-glibc2.2.5
Python Egg 2.4 163KB 327
lxml-1.0.1.win32-static-py2.4.exe (md5)
contributed by Steve Howe, libxml2/libxslt statically built into lxml.etree
MS Windows installer 2.4 1MB 431