Details
Description
I compiled the xalan libraries for ICU.
Now I want to use the format-number method, but when i use the decimal-format i got an unknown entity error (see below).
I checked with samples from the net, but they look the same I programmed.
Do have an idea what the problem is ?
C:\Users\Erwin\Downloads\xalan_c-1.11-src\xalan-c-1.11\c\Build\Win32\VC10\Debug.ICU>XalanTransform.exe Erwin.xml Erwin.xslt Erwin.html
XSLT warning: The call to 'format-number()' failed. (Occurred in an unknown entity, at line 8, column 8.)
Source tree node: #document.
Erwin.xslt
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:decimal-format name="erwin" grouping-separator="'" decimal-separator="."/>
<xsl:template match="/">
<html>
<body>
<xsl:value-of select="format-number(32345.564, '###,##0.00')"/>
<xsl:value-of select="format-number(32345.564, '###,##0.00', 'erwin')"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Erwin.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<Erwin>
</Erwin>