Differences between revisions 5 and 6
Revision 5 as of 2008-11-15 14:00:19
Size: 716
Editor: localhost
Comment: converted to 1.6 markup
Revision 6 as of 2009-10-23 01:28:05
Size: 750
Editor: c-67-176-79-127
Comment: Clarified that lxml.etree, not lxml in general, is the other ElementTree implementation
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
There is also an implementation of the ElementTree API on top of libxml2 called lxml.
It
is really fast and has many extensions exposing advanced libxml2/libxslt features:
There is also lxml.etree, an implementation of the ElementTree API in lxml, a library which is built on top of libxml2. lxml is really fast and has many extensions exposing advanced libxml2/libxslt features:

The ElementTree library provides an Element type, which is a simple but flexible container object, designed to store hierarchical data structures such as simplified XML infosets. The library also provides support for reading and writing Element structures as XML.

The Element type is available as a pure-Python implementation for Python 1.5.2 and later. A high-performance C implementation is also available.

For more information, downloads, and add-ons, see: http://effbot.org/zone/element-index.htm

There is also lxml.etree, an implementation of the ElementTree API in lxml, a library which is built on top of libxml2. lxml is really fast and has many extensions exposing advanced libxml2/libxslt features:

http://codespeak.net/lxml

ElementTree (last edited 2011-02-26 09:31:30 by StefanBehnel)

Unable to edit the page? See the FrontPage for instructions.