xsl-list
[Top] [All Lists]

Re: [xsl] format decimal numbers issue

2008-03-22 07:21:03
Hi Martin

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


Also, Martin
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)]">

The above assumes a xml file passed in. But I have another file that I
like to get access to use
with this for-each expression. Is there a way to access multiple files
in xsl with for-each ?




On Sat, Mar 22, 2008 at 6:52 AM, Martin Honnen 
<Martin(_dot_)Honnen(_at_)gmx(_dot_)de> wrote:
Z W wrote:

     [xslt] C:\detail.xsl:154: Fatal Error! Cannot convert string
"5.894 s" to a double

Which is line 154 in detail.xsl?

--


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



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