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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.