Howto create this XML string?

Sbaush <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Hi all.
I've this XML:

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

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!

--
Sbaush

--
Sbaush

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.