title: reading xml returns nothing
body: <p>I have a xml file which i want to read and output its data my xml is like below:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;serverfiles&gt;
      &lt;file name="picture1.jpg"/&gt;
      &lt;file name="file1.txt"/&gt;
      &lt;folder name="subfolder"&gt;
          &lt;file name="picture2.jpg"/&gt;
          &lt;file name="file2.txt"/&gt;
          &lt;folder name="anotherfolder"&gt;
              &lt;file name="file3.txt"/&gt;
          &lt;/folder&gt;
      &lt;/folder&gt;
      &lt;folder name="anotherfolder"/&gt;      
  &lt;/serverfiles&gt;
  </code></pre>
  
  <p>And want to output it as such:</p>
  
  <pre><code>picture1.jpg
  file1.txt
  subfolder\picture2.jpg
  subfolder\file2.txt
  subfolder\anotherfolder\file3.txt
  </code></pre>
  
  <p>I have tried this :</p>
  
  <pre><code>  string xml = new WebClient().DownloadString("");
   XmlDocument xdoc = new XmlDocument();
   xdoc.LoadXml(xml);
  
   XmlElement element = xdoc.DocumentElement;
  
   XmlAttributeCollection attr_coll = element.Attributes;
  
   for(int i = 0; i &lt; attr_coll.Count; i++)
   {
       string attr_name = attr_coll[i].Name;
   }
  </code></pre>
  
  <p>But in for loop count i don't get anything can someone please help me.</p>