title: Get name of an XElement (Visual Basic)
body: <p>I have an xml document that contains the following:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;root&gt;
    &lt;shop&gt;
      &lt;Item&gt;content1&lt;/Item&gt;
      &lt;Item&gt;content2&lt;/Item&gt;
      &lt;Item&gt;content3&lt;/Item&gt;
    &lt;/shop&gt;
    &lt;todo&gt;
      &lt;Item&gt;content1&lt;/Item&gt;
      &lt;Item&gt;content2&lt;/Item&gt;
      &lt;Item&gt;content3&lt;/Item&gt;
    &lt;/todo&gt;
  &lt;/root&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I wanted to read the xml file and get the names of the child elements from root (&quot;shop&quot; and &quot;todo&quot; in this example) so that I can only create another group with a different name than the ones that already exist.</p>
  <p>How can I do this?</p>