[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: entities in decimal-format/format-number

Subject: RE: entities in decimal-format/format-number
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 20 Apr 2010 15:15:02 +0100
RE:  entities in decimal-format/format-number
When you say that something doesn't work, you need to say how it fails.
Error message? Wrong results?

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

> -----Original Message-----
> From: jack.vosmerkin@xxxxxxxxx 
> [mailto:jack.vosmerkin@xxxxxxxxx] On Behalf Of ?????? ??????????
> Sent: 20 April 2010 15:08
> To: xsl-list
> Subject:  entities in decimal-format/format-number
> 
> Hi,
> 
> I have a problem with formatting numbers in xslt1 (libxslt).
> 
> I'm trying to use custom grouping separator. And sometimes it works.
> <xsl:decimal-format name="foo" grouping-separator="&#160;"/> ...
> <xsl:value-of select="format-number(21031036025.8, 
> '#&#160;###','foo')"/>
> 
> But when I use some other entities, it doesn't:
> <xsl:decimal-format name="foo" grouping-separator="&#8201;"/> ...
> <xsl:value-of select="format-number(21031036025.8, 
> '#&#8201;###','foo')"/>
> (8201 is thin space)
> 
> And I can't figure out why it doesn't sometimes.
> Thanks in advance for any help.
> 
> Mike.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.