Subject: [xsl] format % issue From: "Z W" <mpc8250@xxxxxxxxx> Date: Thu, 27 Mar 2008 00:55:39 -0700 |
Hi What is the workaround to just print the % number ? Fatal Error! Required item type of first argument of format-number() is numeric; supplied value has item type xs:string <xsl:template name="display-percent"> <xsl:param name="value" /> < xsl:value-of select="format-number($value,'0.00%')" /> </xsl:template> <xsl:if test="$testcase=1"> <xsl:call-template name="display-percent"> <xsl:with-param name="value" select="$successPercent" /> </xsl:call-template> </xsl:if> <xsl:if test="$testcase=3"> <xsl:call-template name="display-percent"> <xsl:with-param name="value" select="$successPercent" /> </xsl:call-template> </xsl:if >
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] for-each issue, David Carlisle | Thread | RE: [xsl] format % issue, Michael Kay |
[xsl] for-each issue, Z W | Date | [xsl] How to store value in a varia, Z W |
Month |