title: trying to get element value by index with elementTree function in lxml no output
body: <pre><code>from lxml import etree
  from xml.etree import cElementTree as ET
  tree = ET.parse(r"D:\General\Python_Preference_validation\sample.xml")
  root = tree.getroot()
  root[0][1].text
  </code></pre>
  
  <p>Here is the <code>XML</code> file:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;data&gt;
      &lt;country name="Liechtenstein"&gt;
          &lt;rank&gt;1&lt;/rank&gt;
          &lt;year&gt;2008&lt;/year&gt;
          &lt;gdppc&gt;141100&lt;/gdppc&gt;
          &lt;neighbor name="Austria" direction="E"/&gt;
          &lt;neighbor name="Switzerland" direction="W"/&gt;
      &lt;/country&gt;
      &lt;country name="Singapore"&gt;
          &lt;rank&gt;4&lt;/rank&gt;
          &lt;year&gt;2011&lt;/year&gt;
          &lt;gdppc&gt;59900&lt;/gdppc&gt;
          &lt;neighbor name="Malaysia" direction="N"/&gt;
      &lt;/country&gt;
      &lt;country name="Panama"&gt;
          &lt;rank&gt;68&lt;/rank&gt;
          &lt;year&gt;2011&lt;/year&gt;
          &lt;gdppc&gt;13600&lt;/gdppc&gt;
          &lt;neighbor name="Costa Rica" direction="W"/&gt;
          &lt;neighbor name="Colombia" direction="E"/&gt;
      &lt;/country&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>I am expecting to get output as 2008 but when I run the script it does not providing any output nor complaining about any syntax error. pasted a code and xml as well</p>