[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|