Subject: Re: [xsl] Unexpected ('a', 'b')[fn:position()] result From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 07 Mar 2007 01:12:41 +0100 |
<xsl:template match="/"> <xsl:sequence select="('a', 'b')[fn:position()]"/> </xsl:template>
returns ('a', 'b').
Why is this? Everything tells me the last expression should evaluate to 'a'. Did I miss something?
<xsl:variable name="pos" select="position()" /> <xsl:sequence select="('a', 'b')[$pos]" />
Cheers, -- Abel Braaksma http://www.nuntia.nl
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Unexpected ('a', 'b')[fn:posi, Rachel D. Basse | Thread | Re: Re: [xsl] Unexpected ('a', 'b'), Rachel D. Basse |
Re: [xsl] Looping a node in XSLT, Abel Braaksma | Date | Re: [xsl] Looping a node in XSLT, Senthilkumaravelan K |
Month |