Xml tags all on a single row
<p>im creating a sitemap.xml in asp and i would like to have as output xml this (example)</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt;
&lt;url&gt;
&lt;loc&gt;11111&lt;/loc&gt;
&lt;lastmod&gt;2012-05-03T23:00:00Z&lt;/lastmod&gt;
&lt;changefreq&gt;weekly&lt;/changefreq&gt;
&lt;priority&gt;1.0&lt;/priority&gt;
&lt;/url&gt;
&lt;/urlset&gt;
</code></pre>

<p>unfortunately if i display my xml with notepad have all in a single row as this</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt;
&lt;url&gt;&lt;loc&gt;11111&lt;/loc&gt;&lt;lastmod&gt;2012-05-03T23:00:00Z&lt;/lastmod&gt;&lt;changefreq&gt;weekly&lt;/changefreq&gt;&lt;priority&gt;1.0&lt;/priority&gt;&lt;/url&gt;
&lt;/urlset&gt;
</code></pre>

<p>to generate xml node im using createnode xmldom method! where is my fault????</p>
