Subject: Re: [xsl] conditional increment under XSL for-each loop From: "anil an.kumar" <anil.an.kumar@xxxxxxxxxx> Date: Thu, 11 Feb 2010 12:17:38 +0530 |
XSL version: 1 Vendor: Microsoft Vendor URL: http://www.microsoft.com
Thanks Anil
anil an.kumar wrote:
iam using XSL version 1, and i got the required out put by applying the below logic..
<xsl:for-each select="G_REP_TRX_DETAIL_INFO/C_TAX_REPORTING_NAME">
<mezo eazon="{format-number((position()+1) idiv 2,'000')}X{((position()+1) mod 2) + 1}A">
<xsl:value-of select="."/>
</mezo>
</xsl:for-each>
Interesting, which XSLT 1.0 processor supports the 'idiv' operator? I thought that operator is new in
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] conditional increment und, Martin Honnen | Thread | RE: [xsl] conditional increment und, Michael Kay |
Re: [xsl] Remove element that all i, G. Ken Holman | Date | RE: [xsl] conditional increment und, Michael Kay |
Month |