title: getting first node in xpath result set
body: <p>I am trying to select the first element in a set of resulting nodes after executing an xpath query.</p>
  
  <p>When I do this:</p>
  
  <pre><code>//dl
  </code></pre>
  
  <p>I get the following result set:</p>
  
  <pre><code>[&lt;dl&gt;​…​&lt;/dl&gt;​, &lt;dl&gt;​…​&lt;/dl&gt;​]
  </code></pre>
  
  <p>How can I get the first one? Neither of these work:</p>
  
  <pre><code>//dl[1]
  //dl[position()=1]
  </code></pre>
  
  <p>I am executing this in Chrome's Web Inspector.</p>