Howto create this XML string?

Sbaush sbaush at
Thu Jan 19 11:18:57 EST 2006

Hi all.
I've this XML:

        <append mode="INPUT">
            <method type="GOOD"/>
            <source address=""/>
            <action option="OK"/>

How can i write this in a Python String? I would like use a
xml.domimplementation and not a banal print...print...
I can't do it... Is there anyone that can explain me what is the way?
Thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list