[XML-SIG] xml.dom.minidom unwanted escaping

"Martin v. Löwis" martin@v.loewis.de
Tue May 27 15:25:26 EDT 2003


Kai Hendry wrote:

> I have a little code sample attached.
[...]
> I do not want:
[...]
> I want: 
[...]

It might be easiest if you adjust your wishes. The resulting XML is 
well-formed, and contains the contents you want it to contain.

If that is not acceptable, you cannot use toxml; it just supports a 
single way of printing. You can:

a) try one of the PyXML printers, i.e. xml.dom.ext.[Pretty]Print
b) write your own printer

Regards,
Martin






More information about the XML-SIG mailing list