Re: [xsl] format decimal numbers issue

Subject: Re: [xsl] format decimal numbers issue
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Sat, 22 Mar 2008 15:28:08 +0100
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/

Current Thread