[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Array of all X elements in XML


Subject: Re: [xsl] Array of all X elements in XML
From: Liam R E Quin <liam@xxxxxx>
Date: Sun, 27 May 2012 20:21:20 -0400

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


Current Thread
Keywords