Message149598
The ElementC14N.py module by Fredrik Lundh implements XML canonicalisation for the ElementTree serialiser. Given that the required API hooks to use it are already in xml.etree.ElementTree, this would make a nice, simple and straight forward addition to the existing xml.etree package.
The source can be found here (unchanged since at least 2009):
https://bitbucket.org/effbot/et-2009-provolone/src/tip/elementtree/elementtree/ElementC14N.py
Note that the source needs some minor modifications to use relative imports at the top. Also, the "2.3 compatibility" code section can be dropped. |
|
| Date |
User |
Action |
Args |
| 2011-12-16 08:17:41 | scoder | set | recipients:
+ scoder |
| 2011-12-16 08:17:41 | scoder | set | messageid: <[email protected]> |
| 2011-12-16 08:17:40 | scoder | link | issue13611 messages |
| 2011-12-16 08:17:39 | scoder | create | |
|