title: vb.net xml childnodes doesnt seem to pick up attributes
body: <p>I was under the impression that a node can be anything at all, be it element, attribute, etc etc.</p>
  
  <p>I was looking at trying to iterate through a node list, eg ....</p>
  
  <pre><code>Dim xmlDoc As New Xml.XmlDocument
  xmlDoc.LoadXml("   
      &lt; main1 test1 = 'any' test2 = 'any2' &gt;
      &lt; test1 &gt; ttr &lt; /test1 &gt;
      &lt; test1 &gt; ttr &lt; /test1 &gt;
      &lt; test1 &gt; ttr &lt; /test1 &gt;
      &lt; test1 &gt; ttr &lt; /test1 &gt;
      &lt; /main1 &gt;")
  </code></pre>
  
  <p><strong>Question 1</strong> </p>
  
  <p>Why does the following return only the elements, and not the attributes:</p>
  
  <pre><code>For Each objnode As Xml.XmlNode In xmlDoc.DocumentElement.ChildNodes
      Console.WriteLine(objnode.Name)
  Next
  </code></pre>
  
  <p><strong>Question 2</strong></p>
  
  <p>How can I iterate through all nodes, regardless of type, using xpath?</p>