title: XPath performance -which one is better?
body: <p>I have a question concerning performance issues when using XPath.</p>
  
  <p>Which one is better and why? (in case of performance of course):</p>
  
  <pre><code>//A/B/C[@id="x"]/../..
  </code></pre>
  
  <p>vs.</p>
  
  <pre><code>//A[B/C[@id="x"]] 
  </code></pre>