<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On Thursday 07 October 2010 03:49 PM, Nitin Pawar wrote:
<blockquote
 cite="mid:AANLkTin1PrAs2_YqkYWcyDjV7FJYSQHx1JJzD+f4D=2R@mail.gmail.com"
 type="cite">why not just convert it to string with print pretty and
then normal write to a file <br>
  <br>
  <br>
</blockquote>
Can you give an example.<br>
<br>
happy hacking.<br>
Krishnakant.<br>
<br>
<blockquote
 cite="mid:AANLkTin1PrAs2_YqkYWcyDjV7FJYSQHx1JJzD+f4D=2R@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">On Thu, Oct 7, 2010 at 3:36 PM, hackingKK <span
 dir="ltr"><<a moz-do-not-send="true"
 href="mailto:hackingkk@gmail.com">hackingkk@gmail.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello
all.<br>
I need to create an xml file.<br>
I am using dom.minidom module.<br>
It works fine as long as the xml tree is created.<br>
But I get the import error for dom.ext.<br>
I searched through the python docs but can't find a solution.<br>
I am pritty sure that there is way to write the file to disk without
using the ext module.<br>
Since there are so many software doing this with python 2.6 I am sure
it works.<br>
So can some one tell me if there is a way to avoide ext and prittyprint
and still write a file to the disk?<br>
    <br>
Happy hacking.<br>
Krishnakant.<br>
    <font color="#888888"><br>
    <br>
    <br>
    <br>
-- <br>
    <a moz-do-not-send="true"
 href="http://mail.python.org/mailman/listinfo/python-list"
 target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
    </font></blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Nitin Pawar<br>
  <br>
</blockquote>
<br>
</body>
</html>