2012/5/10 henry human <henry_human(_at_)yahoo(_dot_)de>:
I am doing this
<xsl:variable name="Fcfactor">
<xsl:call-template name="translateDcml">
<xsl:choose>
<xsl:when test="FCDecimalPlace != ''">
<xsl:with-param name="factor" select="FCDecimalPlace"/>
<xsl:otherwise>
<xsl:with-param name="factor" select="LCDecimalPlace"/>
</xsl:otherwise>
</xsl:choose>
</xsl:call-template>
</xsl:variable>
Like Ken suggested, do this instead:
<xsl:call-template name="translateDcml">
<xsl:with-param name="factor">
<xsl:choose>
<xsl:when test="FCDecimalPlace != ''">
<xsl:value-of select="FCDecimalPlace"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="LCDecimalPlace"/>
</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
Thomas W.
--~------------------------------------------------------------------
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>
--~--