Or A/descendant::B[n]
-----Original Message-----
From: Liam R E Quin [mailto:liam(_at_)w3(_dot_)org]
Sent: Monday, May 28, 2012 2:21 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Array of all X elements in XML
On Mon, 2012-05-28 at 00:21 +0200, Jorge wrote:
When I learned that the Xpath path "A//B" returns all B nodes in A
context, I assumed that appending an N index number would return the
Nth node in that list.
You probably want (A//B)[n]
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures
from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--