DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23064

The format-number() Function





------- Additional Comments From [EMAIL PROTECTED]  2003-09-11 05:15 -------
my problem is that i call the function in a template like
<xsl:template name="showNumber">
<xsl:param name="value"/>
<xsl:param name="format"/>
<xsl:if test="string-length($value) > 0">
        <xsl:value-of select="format-number($value,$format,'de_currency')"/>
</xsl:if>
</xsl:template>

and this template i call with
<xsl:call-template name="showNumber">
        <xsl:with-param name="value" select="all_cases/amount_due"/>
        <xsl:with-param name="format">###.###.###.##0,00</xsl:with-param>
</xsl:call-template>
where "all_cases/amount_due" comes from an XML-File like:
<all_cases>
        <count>44550</count>
        <amount_due>2.090699555E7</amount_due>
        <amount_paid>7818523.780000001</amount_paid>
        <amount_open>1.308847177E7</amount_open>
</all_cases>

i think the parameter-value is given as string!
any idea for another way

Reply via email to