title: Access XML node by absolute path
body: <h2></h2>
  <p>I'm parsing an xml file in Python 2.7.<br />
  I'm using the xml.etree.ElementTree module, working on OSX 10.10.<br />
  The file is very large and I would like to be able to access specific nodes in a reasonably efficient way.   If I know the absolute path for a node I can access it by continually using .find(), but surely there is an easier way.</p>
  <p>For example, if the xml is</p>
  <pre><code>import xml.etree.ElementTree as ET
  tree = ET.parse('file.xml')
  root = tree.getroot()
  
  &lt;A&gt;
      &lt;C&gt;
      unwanted text
      &lt;/C&gt;
      &lt;B&gt; 
          &lt;C&gt;
          wanted text
          &lt;/C&gt;
      &lt;/B&gt;
  &lt;/A&gt;
  </code></pre>
  <p>I can access 'wanted text' with <code>root.find(&quot;A&quot;).find(&quot;B&quot;).find(&quot;C&quot;).text</code> but that is obviously awkward.</p>
  <p>Is there a better way?</p>
  <p>Thanks a lot</p>