Mukul
I'm not sure why template cur_count_cifo doesnt work but template
<xsl:template name="cur_time_duration_cifo">
works fine with the same syntax as cur_count_cifo. I'm not sure what I do wrong
here.
<td>
<xsl:choose>
<xsl:when test="number($value)=1">
<xsl:call-template
name="cur_time_duration_cifo">
<xsl:with-param
name="value"/>
</xsl:call-template>
</xsl:when>
<xsl:when test="number($value)=2">
<xsl:call-template
name="cur_time_duration">
<xsl:with-param
name="value"/>
</xsl:call-template>
</xsl:when>
</xsl:choose>
</td>
<td>
<xsl:choose>
<xsl:when
test="number($value)=1">
<!-- xsl:value-of
select="$count" / -->
<xsl:call-template
name="cur_count_cifo">
<xsl:with-param
name="value"/>
</xsl:call-template>
</xsl:when>
</xsl:choose>
<xsl:template name="cur_count_cifo">
<xsl:param name="value"/>
<!-- xsl:value-of select="$currentJTL_cifo"/ -->
<xsl:for-each
select="document($currentJTL_cifo)/testResults/*[not(@label =
preceding::*/@label)]">
<xsl:variable name="label" select="@label" />
<xsl:variable name="count1"
select="count(document($currentJTL_cifo)/testResults/*[(_at_)label =
current()/@label][attribute::label='Client Init'])" />
<xsl:value-of
select="document($currentJTL_cifo)/testResults/*[(_at_)label =
current()/@label][attribute::label='Client Init']"/>
</xsl:for-each>
<xsl:value-of select="$value"/>
<!-- xsl:if test="position() = last()">
<xsl:call-template name="display-number">
<xsl:with-param name="value" select="$count1"/>
</xsl:call-template>
</xsl:if-->
<!-- or xsl:value-of select="$timeSpan"/ -->
</xsl:template>
--~------------------------------------------------------------------
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>
--~--