title: XML reading optimization .NET
body: <p>Here's what I've got thus far:        </p>
  
  <pre class="lang-vb prettyprint-override"><code>Dim xpDoc As New XPathDocument(strXmlUrl &amp; strXmlInfo(0) &amp; "?xml=1")
  Dim xpNav As XPathNavigator = xpDoc.CreateNavigator()
  Dim xpExpression(9) As XPathExpression
  Dim xpIter(9) As XPathNodeIterator
  
  xpExpression(0) = xpNav.Compile("/profile/steamID64")
  'etc.. up to 9
  
  For i = 0 To 9
      xpIter(i) = xpNav.[Select](xpExpression(i))
      While xpIter(i).MoveNext()
          If xpIter(i).Count &lt;&gt; 0 Then
              strXmlInfo(i) = xpIter(i).Current.Value
          Else
              strXmlInfo(i) = ""
          End If
      End While
  Next
  </code></pre>
  
  <p>These are the xml files that I'm parsing:
  <a href="http://steamcommunity.com/id/brosephus?xml=1" rel="nofollow noreferrer">http://steamcommunity.com/id/brosephus?xml=1</a></p>
  
  <p>Any way of handling this that would perform significantly better?</p>