Re: Fixing the XML batteries

2011-12-13 Thread ru...@yahoo.com
On Dec 13, 1:21 pm, Stefan Behnel wrote: > ru...@yahoo.com, 13.12.2011 20:37: > > > On Dec 13, 5:32 am, Stefan Behnel wrote: > >> In Python 2.7/3.2, ElementTree has support for C14N serialisation, just > >> pass the option method="c14n". > > > Where does one find information in the Python document

Re: Fixing the XML batteries

2011-12-13 Thread Stefan Behnel
ru...@yahoo.com, 13.12.2011 20:37: On Dec 13, 5:32 am, Stefan Behnel wrote: In Python 2.7/3.2, ElementTree has support for C14N serialisation, just pass the option method="c14n". Where does one find information in the Python documentation about this? Hmm, interesting. I though it had, but no

Re: Fixing the XML batteries

2011-12-13 Thread ru...@yahoo.com
On Dec 13, 5:32 am, Stefan Behnel wrote: ... > In Python 2.7/3.2, ElementTree has support for C14N serialisation, just > pass the option method="c14n". Where does one find information in the Python documentation about this? -- http://mail.python.org/mailman/listinfo/python-list

Re: Fixing the XML batteries

2011-12-13 Thread ru...@yahoo.com
On Dec 13, 5:32 am, Stefan Behnel wrote: ... > In Python 2.7/3.2, ElementTree has support for C14N serialisation, just > pass the option method="c14n". Where in the Python docs can one find information about this? [previous post disappeared, sorry if I double posted or replied to author inadvert

Re: Fixing the XML batteries

2011-12-13 Thread Stefan Behnel
Serhiy Storchaka, 13.12.2011 19:57: 13.12.11 16:59, Stefan Behnel написав(ла): It matches my opinion though. I would be glad to divide your intentions, however ElementTree looks less documented than minidom It's certainly a lot smaller, which makes its API easier to learn and remember. an

Re: Fixing the XML batteries

2011-12-13 Thread Serhiy Storchaka
13.12.11 16:59, Stefan Behnel написав(ла): It matches my opinion though. I would be glad to divide your intentions, however ElementTree looks less documented than minidom, and is not full replacement. For example, I haven't found how to get XML encoding. Also, at use of ElementTree instead o

Re: Fixing the XML batteries

2011-12-13 Thread Stefan Behnel
Serhiy Storchaka, 13.12.2011 15:27: 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. ;) It matches my opinion though. I use xml.dom.minidom for XML canonization and convertion: Do you mean "canonicali

Re: Fixing the XML batteries

2011-12-13 Thread Serhiy Storchaka
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 al

Re: Fixing the XML batteries

2011-12-13 Thread Stefan Behnel
Serhiy Storchaka, 13.12.2011 13:17: 09.12.11 17:09, Dirkjan Ochtman wrote: An at least somewhat informed +1 from me. The ElementTree API is a very good way to deal with XML from Python, and it deserves to be promoted over the included alternatives. Let's deprecate the NiCad batteries and try to

Re: Fixing the XML batteries

2011-12-13 Thread Serhiy Storchaka
09.12.11 17:09, Dirkjan Ochtman wrote: On Fri, Dec 9, 2011 at 09:02, Stefan Behnel wrote: An at least somewhat informed +1 from me. The ElementTree API is a very good way to deal with XML from Python, and it deserves to be promoted over the included alternatives. Let's deprecate the NiCad batte

Re: Fixing the XML batteries

2011-12-13 Thread Serhiy Storchaka
09.12.11 17:09, Dirkjan Ochtman wrote: On Fri, Dec 9, 2011 at 09:02, Stefan Behnel wrote: An at least somewhat informed +1 from me. The ElementTree API is a very good way to deal with XML from Python, and it deserves to be promoted over the included alternatives. Let's deprecate the NiCad batte