[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: conditional increment under XSL for-each loop

Subject: Re: conditional increment under XSL for-each loop
From: "anil an.kumar" <anil.an.kumar@xxxxxxxxxx>
Date: Thu, 11 Feb 2010 12:17:38 +0530
Re:  conditional increment under XSL for-each loop
Hi,

I don't know how to check the version of XPath/XSLT.

but when i click on like http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl

it is giving below details ,

XSL version: 1
Vendor: Microsoft
Vendor URL: http://www.microsoft.com


Thanks Anil



On 2/10/2010 4:55 PM, Martin Honnen wrote:
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.