Hi all,<br><br>I am creating some xml output using minidom and saving it to a file using doc.writexml()<br>The output however is as follows:<br><br><pre class="codeoutput" style="width: 40%;"><span style="color: rgb(170, 170, 170);"><?xml version="1.0" ?></span><br>
<info><br><Author><br> bill catman<br></Author><br></info><br></pre><br>Is there a way to save xml output in a file such as xml is formatted the right way? I mean with the right indentation and the elements values with no new lines?<br>
<pre class="codeoutput" style="width: 40%;"><span style="color: rgb(170, 170, 170);"><?xml version="1.0" ?></span><br><info><br> <Author>bill catman</Author><br></info></pre>
Note: writexml() with parameters and toprettyxml() are not giving the desired output.<br><br>Thanks.<br><br><br><br>