summaryrefslogtreecommitdiffstats
path: root/xslt/udcf.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/udcf.xslt')
-rw-r--r--xslt/udcf.xslt7
1 files changed, 6 insertions, 1 deletions
diff --git a/xslt/udcf.xslt b/xslt/udcf.xslt
index ce536677a..dbc42ab33 100644
--- a/xslt/udcf.xslt
+++ b/xslt/udcf.xslt
@@ -63,7 +63,12 @@
<xsl:if test="TEMPERATURE|temperature != ''">
<temperature>
<xsl:attribute name="water">
- <xsl:value-of select="concat(TEMPERATURE|temperature, ' C')"/>
+ <xsl:call-template name="tempConvert">
+ <xsl:with-param name="temp">
+ <xsl:value-of select="TEMPERATURE|temperature"/>
+ </xsl:with-param>
+ <xsl:with-param name="units" select="$units"/>
+ </xsl:call-template>
</xsl:attribute>
</temperature>
</xsl:if>