title: How do I display all the xml elements from a recursive file search?
body: <p>Before I continue, I'm really sorry because this is my first time asking a question here.</p>
  
  <p>So I have this project where I have to gather all data from XML files in a folder. I have tested the project with a small test I made myself but when I moved it over to the project itself, it doesn't work.</p>
  
  <p>I have realized that the XML format is different from what I normally work with. I have very little knowledge with vb.net and visual basic.</p>
  
  <p>The XML looks like this:</p>
  
  <pre><code>&lt;Item&gt;
   &lt;Base&gt;
    &lt;Presence&gt;0&lt;/Presence&gt;
   &lt;/Base&gt;
   &lt;Scan&gt;
    &lt;Presence&gt;0&lt;/Presence&gt;
    &lt;Name&gt;SomeScanner&lt;/Name&gt;
   &lt;/Scan&gt;
  &lt;/Item&gt;
  </code></pre>
  
  <p>The code looks like this:</p>
  
  <pre><code>    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
      ListBox1().Items.Clear()
  
      Dim folderPath As String = "C:\MarcInternThings\Test"
      For Each file__1 As String In Directory.GetFiles(folderPath, "*.xml")
          Dim xmlr As XmlTextReader
          xmlr = New XmlTextReader(file__1)
  
      Next
  End Sub
  </code></pre>
  
  <p>So I really need help to read this all out in a listbox. All the xml files in the folder all look like this its just I need help in reading the values and also the "Base" and "Scan" node. By the way, I am not able to change the nodes to have attributes in them. I am supposed to use them on how they are, if they had attributes I would have figured out how to read and display the values by now.</p>