On 9/25/07, Peter Bailey <pbailey / bna.com> wrote:
> > It's giving me ALL of the <issue code>s, no matter what I put there as a
> > quantifier. I've tried "[1]", as shown. I've tried [0], first,
> > [position()<2], but, the results all look the same. It just gives me the
> > whole list, not the first entries I'm asking for.

You may also be interested in XPath.first():
http://www.ruby-doc.org/stdlib/libdoc/rexml/rdoc/classes/REXML/XPath.html#M002905


HTH,
Keith