Subject: No of Times Named Template called
From: "Senthilkumaravelan K" <skumaravelan@xxxxxxxxxxxxxx>
Date: Wed, 12 Mar 2008 19:29:06 -0700
|
Hi All,
I am calling named template by passing the param value 'S' and 'N'.
I would like to know,is there anyway to find the The No of times named
templated called with 'S' as value and otherwise.
This is my named template.
<xsl:template name="STATUS_DETECTION">
<xsl:param name="my-param" />
<xsl:choose>
<xsl:when test="$my-param='S'">
<img src="../img/success.png"/>
</xsl:when>
<xsl:otherwise>
<img src="../img/failure.png"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
Thanks,
Senthil
|