Re: [xsl] selecting from sequences

Subject: Re: [xsl] selecting from sequences
From: Ruud Grosmann <r.grosmann@xxxxxx>
Date: Thu, 18 Dec 2008 16:46:01 +0100
David Carlisle wrote:
perhaps, depending on what a b c really are:


<xsl:variable name="i" select="index-of($seq,b)[1]"/>


- everything before the first b
select="$seq[position() lt $i]

- everything from the first b to the end
select="$seq[position() ge $i]

- the position of the first b?

select="$i"

David

thank you David, that is very helpful.


regards, Ruud

Current Thread