Hello,<div><br></div><div>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?</div><div><br></div><div>=======</div><div>doc = minidom.parse(sys.stdin)</div>
<div>=======</div><div><br></div><div>Any help will be highly appreciated!</div><div><br></div><div>Thank you,<br>-- <br>Regards....<br><br>Nibin.<br><div><br></div><div><font face="'courier new', monospace"><a href="http://TechsWare.in" target="_blank">http://TechsWare.in</a></font></div>
<br>
</div>