Subject: entities in decimal-format/format-number
From: Михаил Сабуренков <allo.superman@xxxxxxxxx>
Date: Tue, 20 Apr 2010 18:07:54 +0400
|
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=" "/>
...
<xsl:value-of select="format-number(21031036025.8, '# ###','foo')"/>
But when I use some other entities, it doesn't:
<xsl:decimal-format name="foo" grouping-separator=" "/>
...
<xsl:value-of select="format-number(21031036025.8, '# ###','foo')"/>
(8201 is thin space)
And I can't figure out why it doesn't sometimes.
Thanks in advance for any help.
Mike.
|