print XML

Nibin V M nibinvm at gmail.com
Thu May 17 09:52:09 EDT 2012


Hello,

I have the following code, which will assign  XML data to a variable! What
is the best method to write the contents of the variable to a file?

=======
doc = minidom.parse(sys.stdin)
=======

Any help will be highly appreciated!

Thank you,
-- 
Regards....

Nibin.

http://TechsWare.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120517/6ef22d33/attachment.html>


More information about the Python-list mailing list