xsl-list
[Top] [All Lists]

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

2012-05-27 19:21:59
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>