Re: [xsl] format decimal numbers issue

Subject: Re: [xsl] format decimal numbers issue
From: "Z W" <mpc8250@xxxxxxxxx>
Date: Sat, 22 Mar 2008 07:20:36 -0700
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.Honnen@xxxxxx> 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/

Current Thread