I am not able to achieve the number formatting, even i did the following steps
1)I installed ICU to enable number formatting in XSL transformation. 2) I set the following environment variables ICUROOT, LD_LIBRARY_PATH(After build) and XALAN_USE_ICU 3) Then i linked icu library libicuuc.so (or should i link some other library?) with my sources... 4)and finally included the following line and the specified header files as per the documentation FunctionICUFormatNumber::FunctionICUFormatNumberInstaller theInstaller; Do i have to include this line just before the transformation? and what do i do with the variable "theInstaller"? Thanks Arun -----Original Message----- From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 3:35 PM To: [email protected] Subject: Re: problems in Number formatting with Xalan-c Please read the documentation. You need to obtain the ICU, build it, then build Xalan-C with ICU integration. The documentation covers this in detail. Dave Arun Ramdas <[EMAIL PROTECTED] To: [email protected] com> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: problems in Number formatting with Xalan-c 03/13/2002 02:21 PM I am trying to format a floating point number. It seems to be working fine with Xalan-java but not with Xalan-c Here is what i do in the xsl Input: 2.345456 <xsl:value-of select="format-number($changes,'###.##%')"/> I want the o/p as 2.35 Can anyone help me out? Thanks Arun Ramadoss
