![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: format-number and localisation >Thread Next - Re: format-number and localisation Re: format-number and localisationTo: NULL Date: 11/8/2006 1:18:00 AM > > How number literals in XPath and XSLT look is well defined. And how > strings are converted to number values is also well defined. > format-number and xsl:decimal-format are for outputting number values > not for parsing them. So I am afraid your XML input is broken, it should > use the '.' as the decimal seperator to store number values. Only for > presentation such number values should be converted to a string in the > desired format. Thanks. Unfortunately the input is out of our control, it comes from a VB DLL and is formatted (I think) using the VB format() function, which seems to use the local settings of the server it's running on, which in this case are European format numbers. So I guess we'll need to convert the 'non-standard' format into 'standard' before converting it back again. Cheers Simon | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
