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
3 lines
No EOL
149 B
XML
3 lines
No EOL
149 B
XML
<n0:foo xmlns:n0="http://z0" xml:id="23">
|
|
<n0:bar xmlns:n1="http://www.w3.org/2001/XMLSchema-instance" n1:type="xsd:string">data</n0:bar>
|
|
</n0:foo> |