mirror of
https://github.com/python/cpython.git
synced 2026-05-18 00:10:55 +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
3 lines
85 B
XML
3 lines
85 B
XML
<foo xmlns:a="http://a" xmlns:b="http://b">
|
|
<b:bar b:att1="val" att2="val"/>
|
|
</foo>
|