title: Parsing XML of the different tag under same parent tags in Go
body: <p>I am new to Go, and I am trying to parse an XML file. I don't know how to convert the xml like below into a struct.
  My XML file:</p>
  <pre><code>&lt;profile&gt;
      &lt;subsystem xmlns=&quot;urn:jboss:domain:logging:1.1&quot;&gt;
              &lt;root-logger&gt;
                  &lt;level name=&quot;INFO&quot;/&gt;
                  &lt;handlers&gt;
                      &lt;handler name=&quot;CONSOLE&quot;/&gt;
                      &lt;handler name=&quot;FILE&quot;/&gt;
                  &lt;/handlers&gt;
              &lt;/root-logger&gt;
      &lt;/subsystem&gt;
      &lt;subsystem xmlns=&quot;urn:jboss:domain:configadmin:1.0&quot;/&gt;
      &lt;subsystem xmlns=&quot;urn:jboss:domain:deployment-scanner:1.1&quot;&gt;
              &lt;deployment-scanner path=&quot;deployments&quot; relative-to=&quot;jboss.server.base.dir&quot; scan-interval=&quot;5000&quot;/&gt;
      &lt;/subsystem&gt;
   &lt;/profile&gt;     
  </code></pre>