[XML-SIG] Python equivalent to Perl's XML::Writer

Martin v. Loewis martin@v.loewis.de
25 Nov 2002 23:55:34 +0100

"Fredrik Lundh" <fredrik@pythonware.com> writes:

> I'm not sure what XML::Writer does, but there's an XMLWriter class in the
> ElementTree package that you might find useful (make sure you get 1.1b3
> or later; the one in 1.1b2 is slightly broken):

There are various other ways to marshal a dictionary of lists in Python:
- xmlrpclib.dumps
- xml.marshal.wddx.dumps
- xml.marshal.generic.dumps

They have all different properties; without knowing the requirements,
it is hard to tell which of these routines meets the requirements