xsl-list
[Top] [All Lists]

Re: [xsl] format decimal numbers issue

2008-03-22 07:28:35
Z W wrote:

        <xsl:template name="display-dec-sec">
                <xsl:param name="value" />
                <!-- xsl:value-of select="format-number($value,'#,.000 s')" / 
-->
                <xsl:value-of select="concat(format-number($value, '#,0.000'), '
s')"/> <--- the line you suggested.

Is that still Saxon 9 that you are using?
What is the value of $value? I can't reproduce the problem.


Could you share some of your ideas of my other earlier post about my
issue in trying to get Ant to send
in multiple xml files in a single xls. I have trouble getting xls to
pick a specific file
using for-each loop.

<xsl:for-each select="/testResults/*[not(@label = preceding::*/@label)]">

Use the document function e.g.
<xsl:for-each select="document($currentJTL)/testResults/*[not(@label = preceding::*/@label)]">
--

        Martin Honnen
        http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
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>
--~--