title: Select first instance only with XPath?
body: <p>I am parsing some XML something like this:</p>
  
  <pre><code>&lt;root&gt;
      &lt;some_gunk/&gt;
      &lt;dupe_node&gt;
          ...
          stuff I want
          ...
      &lt;/dupe_node&gt;
      &lt;bits_and_pieces/&gt;
      &lt;other_gunk/&gt;
      &lt;dupe_node&gt;
          ...
          stuff I don't want
          ...
      &lt;/dupe_node&gt;
      &lt;more_gunk/&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>An XPath of <code>'//dupe_node'</code> will give me two instances of <code>dupe_node</code> to play with. I only want to traverse the first. Can I do this with XPath?</p>