minidom sample code

Miranda Evans mirandacascade at yahoo.com
Mon Sep 8 22:51:06 CEST 2003


Seeking sample python script that makes use of of xml.dom.minidom. 
Specifically, would like to see code where xml.dom.minidom is used to
create an output file the contents of which is an XML document.

Ideally, the output file would a simple XML document such as the one
below.

<?xml version="1.0" ?> 
<TrivialRootTag>TrivialContents</TrivialRootTag>

Workstation O/S is Win2K; version of Python is 2.2.

Can anyone point me to a documentation/link/whatever that provides
such sample code?  Thank you.




More information about the Python-list mailing list