mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +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
6 lines
127 B
XML
6 lines
127 B
XML
<a:foo xmlns:a="http://a" xmlns:b="http://b" xmlns:c="http://c">
|
|
<b:bar/>
|
|
<b:bar/>
|
|
<b:bar/>
|
|
<a:bar b:att1="val"/>
|
|
</a:foo>
|