title: Finding and Extracting Data using XML in Python
body: <blockquote>
    <p>You could work from the top of the XML down to the comments node and then loop through the child nodes of the comments node.</p>
  </blockquote>
  
  <p>I am sure this is what I need to do but I'm not sure how to go about doing this.</p>
  
  <p>I have an XML data structure similar to:</p>
  
  <pre><code>&lt;level&gt;
    &lt;name&gt;Matthias&lt;/name&gt;
    &lt;age&gt;23&lt;/age&gt;
    &lt;gender&gt;Male&lt;/gender&gt;
  &lt;/level&gt;
  ...
  </code></pre>
  
  <p>I am trying to present the name, age and character gender to the user by extracting the data in to Python for data validation, processing and output.</p>
  
  <p>How do I extract only the players name from these XML data in Python?</p>