title: parsing an xml file for unknown elements using python ElementTree
body: <p>I wish to extract all the tag names and their corresponding data from a multi-purpose xml file. Then save that information into a python dictionary (e.g tag = key, data = value). The catch being the tags names and values are unknown and of unknown quantity.</p>
  
  <pre><code>    &lt;some_root_name&gt;
          &lt;tag_x&gt;bubbles&lt;/tag_x&gt;
          &lt;tag_y&gt;car&lt;/tag_y&gt;
          &lt;tag...&gt;42&lt;/tag...&gt;
      &lt;/some_root_name&gt;
  </code></pre>
  
  <p>I'm using ElementTree and can successfully extract the root tag and can extract values by referencing the tag names, but haven't been able to find a way to simply iterate over the tags and data without referencing a tag name.</p>
  
  <p>Any help would be great.</p>
  
  <p>Thank you.</p>