Hi I am using Ubuntu 9.10 and Python 2.6.4 ..<br><br>when I create an ElementTree object and the write it out using:<br><br> xml.etree.ElementTree.write() , I get one single long single line files, instead of something that looks reasonable , what gives ??? (and is it important ??) <br>
<br>eg: I get :<br><br><root><child>One</child><child>Two</child></root><br><br>instead of :<br><font size="2"><br><root><br><child>One</child><br><child>Two</child><br>
</root><br><br><br>i found this example at: ( Listing 4 ) <br><a href="http://www.learningpython.com/2008/05/07/elegant-xml-parsing-using-the-elementtree-module/#Listing1">http://www.learningpython.com/2008/05/07/elegant-xml-parsing-using-the-elementtree-module/#Listing1</a><br>
</font>