1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-14 05:09:26 +03:00
Files
libxslt/tests/general/bug-95.xsl
Daniel Veillard 6b0ea0af93 fixed bug #78501 when using a non ascii character for the number
* 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
2002-10-22 15:34:36 +00:00

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="&#160;"/>
<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, '#&#160;###,00 Kè', 'czf')"/>
</xsl:template>
</xsl:stylesheet>