|
Subject: Re: [xsl] Determine position in node sequence based on criteria From: Michael Kay <mike@xxxxxxxxxxxx> Date: Wed, 30 Jun 2010 15:31:39 +0100 |
for $i at $pos in ../s return if (...) then $pos else ()
However thats exactly the same as:
for $i in ../s return if (...) then 1 + count($i/preceding-sibling::s) else ()
Michael Kay Saxonica
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Determine position in nod, Andrew Welch | Thread | Re: [xsl] Determine position in nod, Andrew Welch |
| Re: [xsl] Determine position in nod, Michael Kay | Date | Re: [xsl] Determine position in nod, Andrew Welch |
| Month |