how to create N Level xml file
<p>I need to create xml file that have N Level.</p>

<p>for ex. in my below example I have 'AlbumDetails' is root element and 'PrintPackage' is another child root and 'UpgradePackage' is another child root.</p>

<p>Can any one let me know how can i make N Level/Multi Level XML in c#.</p>

<pre><code>&lt;AlbumDetails&gt;
  &lt;Album Id="203"&gt;
    &lt;Institute&gt;Oxford&lt;/Institute&gt;
    &lt;Venue&gt;Wallingford School&lt;/Venue&gt;
    &lt;PrintPackage&gt;
      &lt;SizeName&gt;Combination Pack&lt;/SizeName&gt;
      &lt;Price&gt;1.00&lt;/Price&gt;
      &lt;Weight&gt;60.00&lt;/Weight&gt;
      &lt;UpgradePackage&gt;
      &lt;SizeName&gt;Upgrade 1&lt;/SizeName&gt;
      &lt;Price&gt;1.00&lt;/Price&gt;
      &lt;Weight&gt;60.00&lt;/Weight&gt;
      &lt;/UpgradePackage&gt;
      &lt;SizeName&gt;Standard Pack&lt;/SizeName&gt;
      &lt;Price&gt;90.0000&lt;/Price&gt;
      &lt;Weight&gt;600.0000&lt;/Weight&gt;
    &lt;/PrintPackage&gt;
  &lt;/Album&gt;
&lt;/AlbumDetails&gt;
</code></pre>
