I have a param in my template. and i've assigned a value '1' to it.
This template is called recursively from within itself. I want to keep incrementing the param everytime this template is called. Is it possible to do so in xsl?
<xsl:apply-templates select="test">
  <xsl:with-param name="number">1</xsl:with-param>
<xsl:template match="test">
<xsl:param name="number">
<xsl:apply-templates select="test">
   <xsl:with-param name="number" select="$number+1"/>

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


Reply via email to