mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-09-14 05:09:26 +03:00
* libxslt/numbers.c libxslt/numbersInternals.h libxslt/xsltutils.[ch]: fixed bug #78501 when using a non ascii character for the number formatting grouping separator. * tests/docs/Makefile.am tests/docs/bug-95.xml tests/general/Makefile.am tests/general/bug-95.*: added the example in the regression tests for this case * libxslt/attributes.c: cleaning up a problem introduced in last patch Daniel
23 lines
555 B
XML
23 lines
555 B
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
<xsl:output method="html" encoding="ISO-8859-1"/>
|
|
|
|
<xsl:decimal-format name="czf"
|
|
decimal-separator=","
|
|
grouping-separator=" "/>
|
|
|
|
<xsl:template match="Kapital">
|
|
<html>
|
|
<title>Example xsltproc</title>
|
|
<body>
|
|
<xsl:apply-templates select="Vklad"/>
|
|
</body>
|
|
</html>
|
|
</xsl:template>
|
|
|
|
<xsl:template match="Vklad" >
|
|
<xsl:value-of select="format-number(Kc, '# ###,00 Kè', 'czf')"/>
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|