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.3 (2006-08-08)

Features added

  • Element.replace(old, new) method to replace a subelement by another one

Bugs fixed

  • Crash when mixing elements from XSLT results into other trees
  • Copying/deepcopying did not work for ElementTree objects
  • Setting an attribute to a non-string value did not raise an exception
  • Element.remove() deleted the tail text from the removed Element

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lxml-1.0.3-py2.3-linux-i686.egg (160.4 kB) Copy SHA256 hash SHA256 Egg 2.3
lxml-1.0.3-py2.4-linux-i686.egg (160.4 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.3-py2.4-linux-x86_64.egg (169.9 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.3-py2.4-win32.egg (1.4 MB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.3.tar.gz (380.6 kB) Copy SHA256 hash SHA256 Source None
lxml-1.0.3.win32-py2.4.exe (1.4 MB) Copy SHA256 hash SHA256 Windows Installer 2.4

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page