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 XPath/XSLT 2.0.
--
Martin Honnen
http://msmvps.com/blogs/martin_honnen/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--