I am parsing some XML something like this:
<root>
<some_gunk/>
<dupe_node>
...
stuff I want
...
</dupe_node>
<bits_and_pieces/>
<other_gunk/>
<dupe_node>
...
stuff I don't want
...
</dupe_node>
<more_gunk/>
</root>
An XPath of '//dupe_node'
will give me two instances of dupe_node
to play with. I only want to traverse the first. Can I do this with XPath?