Create xml with elementtree ET and xml escaping

Stefan Behnel stefan_ml at behnel.de
Sat Dec 15 04:31:09 EST 2012


nenad.cikic at gmail.com, 12.12.2012 03:19:
> Il giorno martedì 11 dicembre 2012 20:59:54 UTC+1, MRAB ha scritto:
>>
>>> Since I have also the need to sign the XML I need the ability to create xml but without xml escaping (unescaped data are signed).
>>
>> XML with the escaping isn't valid XML.
> 
> Of course I know it is not valid without escaping. But I need it only for signing. I will recheck this if really the web service wants the data to be signed as non escaped.

If it expects non-XML, you should tell the owners of the web service so
that they can fix it.

Stefan





More information about the Python-list mailing list