title: Script fails to access the content in inside tag
body: <p>I am trying to parse a large xml file.</p>
  
  <p>It has following structure.</p>
  
  <pre><code>    &lt; merchandiser &gt;
      &lt;header&gt;&lt;/header&gt;
      &lt;product&gt;
      &lt;name&gt;&lt;/name&gt;
      &lt;URL&gt;
          &lt;info&gt;
          &lt;/info&gt;
          &lt;product&gt;
         &lt;/product&gt;
      &lt;/URL&gt;
      &lt;/product&gt;
  
      ............
  
      &lt;product&gt;
      &lt;name&gt;&lt;/name&gt;
      &lt;URL&gt;
          &lt;info&gt;
          &lt;/info&gt;
          &lt;product&gt;
         &lt;/product&gt;
  
      &lt;/URL&gt;
      &lt;/product&gt;
      &lt;/merchandiser&gt;
  </code></pre>
  
  <p>I am using iter.parse() from python-lxml library.</p>
  
  <pre><code>    for event , element in etree.iterparse(xmlfile,tag='product'):
  
          if element.tag=="product" and event == "end":
              if element.findall("..")[0].tag=='merchandiser':
                          print element.xpath('./URL/product/text()')
                          print element.xpath('./URL/info/text()')
          element.clear()
  </code></pre>
  
  <p>The script prints the text inside  tag but it fails to print the text inside  tag.</p>
  
  <p>I think its because of  same tag names.</p>
  
  <p>Please tell me what I am doing wrong?</p>