Subject:format-number function Author:Patricia Yerich Date:11 Dec 2003 05:09 PM
Hi,
I'm having problems getting the format-number function to work. My usage is this: I have an xml element "someElementContent" which contains the value 16.7984. I want it to be 16.8.after the transform.
When I try this:
or any other format which has the # in it, I get an illegal character error.
Subject:RE: format-number function Author:Ivan Pedruzzi Date:11 Dec 2003 05:17 PM
Hi Patricia,
the format has to be a string, try
format-number(someElementContent, '##.0')
Ciao
Ivan
-----Original Message-----
From: stylus-studio-xslt Listmanager [mailto:listmanager@edn.exln.com]
Sent: Thursday, December 11, 2003 5:34 PM
To: Recipients of 'stylus-studio-xslt' suppressed
Subject: format-number function
From: "Patricia Yerich"
Hi,
I'm having problems getting the format-number function to work. My usage is this: I have an xml element "someElementContent" which
contains the value 16.7984. I want it to be 16.8.after the transform.
When I try this:
or any other format which has the # in it, I get an illegal character error.
When I try this:
I get a 17.
Is the format-number function supported?
Thanks,
Pat
To reply: mailto:stylus-studio-xslt.7141@edn.exln.com
To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
To login: http://edn.exln.com/~SSDN