mirror of
https://github.com/python/cpython
synced 2026-10-23 07:34:49 +03: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
194 B
XML
4 lines
194 B
XML
<foo xmlns:a="http://z0" xmlns:b="http://z0" a:att1="val1" b:att2="val2" xmlns="http://z0">
|
|
<c:bar xmlns:a="http://z0" xmlns:c="http://z0" c:att3="val3"/>
|
|
<d:bar xmlns:d="http://z0"/>
|
|
</foo>
|