title: Get XML tag by variable
body: <p>I've got the following code in VB 2012, which returns a correct XML:</p>
  
  <pre><code>Dim xml = XDocument.Load("http://myURL.com/api/request")
  </code></pre>
  
  <p>I know I can use the values form the XML this way:</p>
  
  <pre><code>Debug.WriteLine(xml.&lt;response&gt;.&lt;label1&gt;.&lt;regel1&gt;.&lt;text&gt;.Value)
  </code></pre>
  
  <p>But the problem is, that <code>label1</code> can also be <code>label2</code>, <code>label3</code> etc. How can i create something like this:</p>
  
  <pre><code>For iLabel as Integer = 1 To myArray.Length
      Debug.WriteLine(xml.&lt;response&gt;.&lt;label + iLabel&gt;.&lt;regel1&gt;.&lt;text&gt;.Value)
  Next
  </code></pre>