<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Hi Dave, Uche,<BR>
<BR>
Thanks - that did the trick.<BR>
<BR>
Brian<BR>
<BR>
<BR>
On Thu, 2004-10-14 at 04:25, Uche Ogbuji wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>On Tue, 2004-10-12 at 10:39, Dave Kuhlman wrote:
&gt; On Tue, Oct 12, 2004 at 03:58:29PM +0100, Brian Reynolds wrote:
&gt; &gt; Hi All,
&gt; &gt; 
&gt; &gt; I'm using the PrettyPrint function to print a XSD contained in a DOM
&gt; &gt; tree. What I would like to do is ensure that the attributes are printed
&gt; &gt; with the double-quotes instead of single quotes. 
&gt; &gt; Is there any way of doing this? I'm using pyxml v0.8.3.
&gt; &gt; 
&gt; 
&gt; What about trying the following:
&gt; 
&gt;     from xml.dom import minidom
&gt;     doc = minidom.parse('mydoc.xml')
&gt;     root = doc.documentElement
&gt;     print root.toprettyxml()

Yes.  That's a better alternative for a variety of reasons.</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>