CSV import: support for decimal comma on depth

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2016-11-09 21:39:24 +02:00 committed by Dirk Hohndel
parent 5402d489c6
commit 50ea5ec296

View file

@ -272,10 +272,10 @@
<xsl:attribute name="depth">
<xsl:choose>
<xsl:when test="$units = 0">
<xsl:value-of select="$depth"/>
<xsl:value-of select="translate($depth, ',', '.')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$depth * 0.3048"/>
<xsl:value-of select="translate($depth, ',', '.') * 0.3048"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>