[XML-SIG] minidom/pulldom connection
Fred L. Drake, Jr.
Thu, 23 Nov 2000 01:22:22 -0500 (EST)
Greg Stein writes:
> Before: each time you called startDocument(), it would start a new document.
> Now, it will only do so the first time.
> I would recommend passing a class (a constructor, really) object to __init__
> and storing that constructor. startDocument() can then call it
> unconditionally like before.
Excellent point! I've updated the patch on SourceForge:
> [ this does imply moving the import back to the global scope ]
Actually, no, it doesn't. ;)
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Digital Creations