Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Project description
lxml is a Pythonic, mature 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.
To contact the project, go to the project home page or see our bug tracker at https://launchpad.net/lxml
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
After an official release of a new stable series, current bug fixes become available at http://codespeak.net/svn/lxml/branch/lxml-2.2 . Running easy_install lxml==2.2bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-2.2#egg=lxml-2.2bugfix
2.2.2 (2009-06-21)
Features added
New helper functions strip_attributes(), strip_elements(), strip_tags() in lxml.etree to remove attributes/subtrees/tags from a subtree.
Bugs fixed
Namespace cleanup on subtree insertions could result in missing namespace declarations (and potentially crashes) if the element defining a namespace was deleted and the namespace was not used by the top element of the inserted subtree but only in deeper subtrees.
Raising an exception from a parser target callback didn’t always terminate the parser.
Only {true, false, 1, 0} are accepted as the lexical representation for BoolElement ({True, False, T, F, t, f} not any more), restoring lxml <= 2.0 behaviour.
Other changes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for lxml-2.2.2-py2.6-macosx-10.5-i386.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99b220682ca8a8f83c59717a0bf4cbd8428af6c076bbcd27ff2cda734cc6f3d |
|
MD5 | 5c4b4b67d107241df82e1b480a496bac |
|
BLAKE2b-256 | 66d7c8d8508f6337952ec97550fda36e83969e2e871286e07fc9b1d16f9c82c5 |
Hashes for lxml-2.2.2-py2.5-macosx-10.5-i386.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7be7848fbbfcb25cced2be0065a8bfd68617097ec538beafba0d63389cd7fa |
|
MD5 | 023b093ecb2ce886f80b7a7f0601adb5 |
|
BLAKE2b-256 | 89c90306d56da4b6f6f8f36d5630f9b0e56bfac863294a487658d90821459abe |
Hashes for lxml-2.2.2-py2.4-macosx-10.6-i386.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd43bafe7498d6406350248b32801cddda38eaadc141a195983239e2f8be384a |
|
MD5 | 38b727f5524bb9162a3c02c8e27c1a17 |
|
BLAKE2b-256 | ef9601b0b0ab2f9fedd18c5e240a934c4cffc1ad417c82f1b9f6b53396717bee |
Hashes for lxml-2.2.2-py2.4-macosx-10.5-i386.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b9e319d80f034092cc7032b8ec30ea3cb899f5395b053da04a81836f85fed36 |
|
MD5 | 58297e10cea604d7112063aa7a3a940c |
|
BLAKE2b-256 | ade247786cda5a3c3c0e52028589a5ece79834fba76169c072db88f63ab84a4a |