title: Python XML Parsing without root
body: <p>I wanted to parse a fairly huge xml-like file which doesn't have any root element. The format of the file is:</p>
  <pre><code>&lt;tag1&gt;
  &lt;tag2&gt;
  &lt;/tag2&gt;
  &lt;/tag1&gt;
  
  &lt;tag1&gt;
  &lt;tag3/&gt;
  &lt;/tag1&gt;
  </code></pre>
  <p>What I tried:</p>
  <ol>
  <li>tried using ElementTree but it returned a &quot;no root&quot; error. (Is there any other python library which can be used for parsing this file?)</li>
  <li>tried adding an extra tag to wrap the entire file and then parse it using Element-Tree. However, I would like to use some more efficient method, in which I would not need to alter the original xml file.</li>
  </ol>