Howto create this XML string?

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060119/cdf49760/attachment.html>


More information about the Python-list mailing list