[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: use choose in call-templates not possble
2012/5/10 henry human <henry_human@xxxxxxxx>: > > 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|