aboutsummaryrefslogtreecommitdiffstats
path: root/xslt/uddf.xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-13 22:00:33 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-13 13:17:58 -0800
commite5c291aca4352a2f34da964b7bbddc6e774409b0 (patch)
tree9c5629df1af3ac2797c2d8f91c1c986e724b86c9 /xslt/uddf.xslt
parent41e9ec12e2ae533c61c6b68b6861b978d472456e (diff)
downloadsubsurface-e5c291aca4352a2f34da964b7bbddc6e774409b0.tar.gz
Fix name for temperature sample on UDDF import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/uddf.xslt')
-rw-r--r--xslt/uddf.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 133ae72e4..0eaa06370 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -427,13 +427,13 @@
</xsl:choose>
<xsl:if test="temperature != '' and $temperatureSamples &gt; 0">
- <xsl:attribute name="temperature">
+ <xsl:attribute name="temp">
<xsl:value-of select="concat(format-number(temperature - 273.15, '0.0'), ' C')"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="u:temperature|u1:temperature != '' and $temperatureSamples &gt; 0">
- <xsl:attribute name="temperature">
+ <xsl:attribute name="temp">
<xsl:value-of select="concat(format-number(u:temperature|u1:temperature - 273.15, '0.0'), ' C')"/>
</xsl:attribute>
</xsl:if>