[Python-Dev] Elementtree and Namespaces in 2.5 (original) (raw)

Martijn Faassen faassen at infrae.com
Tue Aug 15 19:39:51 CEST 2006


Fredrik Lundh wrote:

"Chris S" wrote:

and while most users and the w3 spec (http://www.w3.org/TR/2001/REC-xml-c14n-20010315#NoNSPrefixRewriting) agree this feature is actually a bug ET's not a canonicalization library, and doesn't claim to be one, so that reference isn't very relevant. And "most users" know that ET uses a simplified infoset; it's not exactly a secret.

And if you need an XML library with ET's API that does retain namespace prefixes and has support for canonicalization and a boatload of other features, you could try lxml.

http://codespeak.net/lxml

Regards,

Martijn



More information about the Python-Dev mailing list