was no longer available.
Changes:
- Fixed problem that could result in repeated use of the same
namespace prefix in the same element.
- Fixed import error in ElementInclude, when using the default
loader (Gustavo Niemeyer).
- Fixed exception when .//tag fails to find matching elements
(reported by Mike Kent) (@XMLTOOLKIT28)
- Fall back on pre-1.2 find/findtext/findall behaviour if the
ElementPath module is not installed. If you don't need path
support, you can simply copy the ElementTree module to your
own project.
- Added experimental support for XInclude-style preprocessing. The
ElementInclude module expands xi:include elements, using a custom
resolver. The current release ignores xi:fallback elements.
- Fixed typo in ElementTree.findtext (reported by Thomas Dartsch)
(@XMLTOOLKIT25)
- Fixed parsing of periods in element names (reported by Brian
Vicente) (@XMLTOOLKIT27)
The 1.2 alpha 1 release adds limited XPath support to the find/findtext
and findall methods.
For information on the XPath subset supported by ElementTree 1.2, see:
http://effbot.org/zone/element-xpath.htm
The Element type is a simple but flexible container object, designed
to store hierarchical data structures, such as simplified XML infosets,
in memory.
The ElementTree toolkit contains an Element implementation in Python,
and code to read XML and HTML files into trees of Element objects, and
write them out as XML.