Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #17139 > unrolled thread
| Started by | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| First post | 2011-12-13 16:27 +0200 |
| Last post | 2011-12-13 16:27 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Fixing the XML batteries Serhiy Storchaka <storchaka@gmail.com> - 2011-12-13 16:27 +0200
| From | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| Date | 2011-12-13 16:27 +0200 |
| Subject | Re: Fixing the XML batteries |
| Message-ID | <mailman.3598.1323786499.27778.python-list@python.org> |
13.12.11 14:32, Stefan Behnel написав(ла): > I stripped my name from the quoted context because I didn't say this. I am glad to hear this. ;) >> I use xml.dom.minidom for XML canonization and convertion: > Do you mean "canonicalisation"? I.e. C14N? That's not what the code > below is doing, not at all. No, only converting to certain textual representation. Converting entities to text (if possible), converting "'" to '"' for quoting, sorting attributes, etc. >> How to do this with xml.etree.ElementTree? > In Python 2.7/3.2, ElementTree has support for C14N serialisation, just > pass the option method="c14n". Thanks, I will try this. But I need 2.6+ compatibility.
Back to top | Article view | comp.lang.python
csiph-web