[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Unexpected Results with format-number()
First I note your formatting pattern should be '$#,.00' and not "$,.00".
Next, converting your stylesheet to XSLT 1.0 and using the above pattern gets you what you need, so I suspect this is a simple oversight in Saxon that will probably be fixed soon given its creator follows this list. I hope this helps. . . . . . . . . . . . Ken At 2007-08-15 18:20 -0500, Angela Williams wrote: I've just noticed a difference in the way small numbers are formatting. When I wrote this a few weeks ago, small numbers formatted with the correct precision. Now it seems the format string is being ignored. -- Upcoming public training: XSLT/XSL-FO Sep 10, UBL/code lists Oct 1 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|