Subject: Re: [xsl] Determine position in node sequence based on criteria From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 30 Jun 2010 15:28:32 +0100 |
Agreed. It seems like it would be real handy to have position() take an argument:
position(../s[])
and return the position of the matching items...
or loosen the restrictions on position() in a for expression, or have a different function where you could get the position in a for expression:
for $i in ../s if (...) then $i/position() else ()
Michael Kay Saxonica
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Determine position in nod, Michael Kay | Thread | Re: [xsl] Determine position in nod, Dimitre Novatchev |
Re: [xsl] Determine position in nod, Andrew Welch | Date | Re: [xsl] Determine position in nod, Michael Kay |
Month |