title: Extracting text after tag in Python's ElementTree
body: <p>Here is a part of XML:</p>
  
  <pre><code>&lt;item&gt;&lt;img src="cat.jpg" /&gt; Picture of a cat&lt;/item&gt;
  </code></pre>
  
  <p>Extracting the  tag is easy. Just do:</p>
  
  <pre><code>et = xml.etree.ElementTree.fromstring(our_xml_string)
  img = et.find('img')
  </code></pre>
  
  <p>But how to get the text immediately after it (<em>Picture of a cat</em>)? Doing the following returns a blank string:</p>
  
  <pre><code>print et.text
  </code></pre>