How to Xml escaping of characters above 7 bit ascii.
Martin von Loewis
loewis at informatik.hu-berlin.de
Wed Mar 7 08:34:14 EST 2001
"Syver Enstad" <syver at NOSPAMcyberwatcher.com> writes:
> Is there a method in Python that takes a unicode string and escapes it
> according to the xml file format? Or will I have to do it myself?
You could write a codec yourself; several people have already written
code to do so (see PyXML for examples). Standard Python does not
provide such a codec, so you have to write it yourself.
Regards,
Martin
More information about the Python-list
mailing list