title: How to use XPath expression to find element in an array
body: <p>I have few elements of the same type in my xml file and node with number of occurence that I need to use eg</p>
  
  <pre><code>&lt;xml&gt;
    &lt;iteration&gt;3&lt;/iteration&gt;
    &lt;myElement&gt;123&lt;/myElement&gt;
    &lt;myElement&gt;456&lt;/myElement&gt; 
    &lt;myElement&gt;789&lt;/myElement&gt;
    &lt;myElement&gt;012&lt;/myElement&gt;
  &lt;/xml&gt;
  </code></pre>
  
  <p>Now I need to select 3rd (text of iteration node) myElement node. How to do that using XPath?
  I tried</p>
  
  <pre><code>(/xml/myElement)[/xml/iteration/text()] 
  </code></pre>
  
  <p>but it doens't work. Is it possible?</p>
  
  <p>Of course expected result is 789</p>