[XML-SIG] SAX Serializer

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri, 23 Mar 2001 12:12:36 +0100


> Is there any means in PyXML or other sources to serialize a SAX stream 
> (i.e. w/o building an intermediary DOM tree)?

Sure. Pass it to a xml.sax.saxutils.XMLGenerator, and save the XML
document.

Not sure what kind of serialization you had in mind; this might
actually be one of the more efficient and compact options (compared
to, say, pickling something).

Regards,
Martin