title: 'XML' document with multiple root elements
body: <p>I have an 'XML' file, which I do not control, which I am trying to parse with <code>etree.ElementTree</code>  which contains two root elements:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;meta&gt;
      ... data I do not care about
  &lt;/meta&gt;
  
  &lt;database&gt;
      ... data I wish to parse
  &lt;/database&gt;
  </code></pre>
  
  <p>Trying to parse the file I'm getting the error: '<code>junk after document element'</code> which I understand is related to the fact that it isn't valid xml, since xml can only have one root element. I've been reading around for a solution, and while I have found a few posts addressing this issue they have all been different enough or difficult enough that I could not, as a beginner, get my head round them.</p>
  
  <p>As I understand it the solution would either be to encase everything in a new root element, and parse that, or somehow ignore/split off the <code>&lt;meta&gt;</code> element and it's children. Any guidance on how to best accomplish this would be appreciated.</p>