title: Read one child node of the XML document
body: <p>My XML file looks like this:</p>
  
  <pre><code>&lt;Root&gt;
  &lt;ver&gt;Test&lt;/ver&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>and this is my code:</p>
  
  <pre><code>Dim doc As New System.Xml.XmlDocument
  doc.LoadXml(xmlString)
  Dim element = doc.GetElementsByTagName("ver")
  Dim n1Element As System.Xml.XmlElement
  MsgBox(n1Element.ChildNodes(0).InnerText)
  </code></pre>
  
  <p>What I am basically trying to achieve is displaying the <code>Test</code> string in the <code>MsgBox</code>.</p>
  
  <p>For some reason I can not access the ChildNode(0) I think that the main problem here is the <code>System.Xml.XmlElement</code> but I dont have enough knowledge in this case.</p>
  
  <p>What is wrong with this code and how can I access the <code>Test</code> string?</p>