[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: format decimal numbers issue

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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.