title: extract tag inside text element of an xml tag
body: <p>Suppose I have an XML document of the following form</p>
  
  <pre><code>&lt;root&gt;
    &lt;foos&gt;
      &lt;foo&gt;the quick &lt;bar&gt;brown &lt;/bar&gt;fox&lt;/foo&gt;
    &lt;/foos&gt;
    &lt;!-- Lots more &lt;foo&gt;&lt;/foo&gt; --&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>How do I extract the full text string <code>the quick fox</code> as well as the string <code>brown</code>?</p>
  
  <pre><code>import xml.etree.ElementTree as ET
  doc = ET.parse(xmldocument).getroot()
  foos = doc.find('foos')
  for foo in foos:
      print foo.text # This will print 'the quick '
  </code></pre>
  
  <p>Not sure how to solve this problem.</p>