mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
* Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations
4 lines
173 B
XML
4 lines
173 B
XML
<a:foo xmlns:a="http://z3" xmlns:b="http://z2" b:att1="val1" c:att3="val3" b:att2="val2" xmlns:c="http://z1" xmlns:d="http://z0">
|
|
<c:bar/>
|
|
<c:bar d:att3="val3"/>
|
|
</a:foo>
|