Subject: Re: [xsl] entities in decimal-format/format-number From: Михаил Сабуренков <allo.superman@xxxxxxxxx> Date: Tue, 20 Apr 2010 18:35:03 +0400 |
It outputs something weird, like "21031 o?=o?=036 026". Probably, unsupported characters or kind of that. On 20 April 2010 18:15, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > 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: [xsl] 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=" "/> ... >> <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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] entities in decimal-forma, Michael Kay | Thread | RE: [xsl] entities in decimal-forma, Michael Kay |
[xsl] Writing xslt from DSML, vinu shankar | Date | RE: [xsl] Writing xslt from DSML, Michael Kay |
Month |