[XML-SIG] Missing encoding attribute
and-xml at doxdesk.com
Fri Aug 13 11:02:21 CEST 2004
Mehdi Hashemian <mehdi.hashemian at spirentcom.com> wrote:
> Is there support for encoding argument for toxml and toprettyxml in minidom?
> (Does not look like it is supported in 2.2.2)
It is in 2.3 onwards, and reasonably recent PyXML versions. Earlier
versions don't do character encoding, you always get Unicode strings out.
(Note, you still can't encode to a character set which doesn't include
all characters used in content; minidom will currently produce an error
rather than trying to escape unencodable characters with character
mailto:and at doxdesk.com
More information about the XML-SIG