[XML-SIG] an example of generating XML?

Matt Gushee Matt Gushee <mgushee@havenrock.com>
Mon, 9 Sep 2002 23:01:37 -0600


On Tue, Sep 10, 2002 at 01:02:26AM -0400, Thomas B. Passin wrote:

> Here is a minimal example that works, though without error handling.

Almost works, you mean?

> from xml.dom import Document
> from xml.dom.ext.Printer import PrintWalker,PrintVisitor
> 
> EMPTY_NAMESPACE=None
> 
> def build_doc():
>     dt = implementation.createDocumentType('','','')

implementation?

-- 
Matt Gushee
Englewood, Colorado, USA
mgushee@havenrock.com
http://www.havenrock.com/