Subject: RE: Array of all X elements in XML
From: Jakub Malý <jakub@xxxxxxx>
Date: Mon, 28 May 2012 07:43:46 +0200
|
Or A/descendant::B[n]
-----Original Message-----
From: Liam R E Quin [mailto:liam@xxxxxx]
Sent: Monday, May 28, 2012 2:21 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: 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
|