aboutsummaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/uddf.xslt6
1 files changed, 3 insertions, 3 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index a052eeba3..22d9814a1 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -520,17 +520,17 @@
<xsl:choose>
<xsl:when test="depth != ''">
<xsl:attribute name="depth">
- <xsl:value-of select="concat(format-number(depth, '0.00'), ' m')"/>
+ <xsl:value-of select="concat(format-number(translate(depth, ',', '.'), '0.00'), ' m')"/>
</xsl:attribute>
</xsl:when>
<xsl:when test="u:depth|u1:depth != ''">
<xsl:attribute name="depth">
- <xsl:value-of select="concat(format-number(u:depth|u1:depth, '0.00'), ' m')"/>
+ <xsl:value-of select="concat(format-number(translate(u:depth|u1:depth, ',', '.'), '0.00'), ' m')"/>
</xsl:attribute>
</xsl:when>
<xsl:when test=". != 0">
<xsl:attribute name="depth">
- <xsl:value-of select="concat(format-number(., '0.00'), ' m')"/>
+ <xsl:value-of select="concat(format-number(translate(., ',', '.'), '0.00'), ' m')"/>
</xsl:attribute>
</xsl:when>
</xsl:choose>