diff options
-rw-r--r-- | xslt/udcf.xslt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/xslt/udcf.xslt b/xslt/udcf.xslt index dbc42ab33..9f617bba2 100644 --- a/xslt/udcf.xslt +++ b/xslt/udcf.xslt @@ -88,10 +88,20 @@ <xsl:value-of select="concat(TANK/TANKVOLUME|tank/tankvolume, ' l')"/> </xsl:attribute> <xsl:attribute name="start"> - <xsl:value-of select="TANK/PSTART|tank/pstart"/> + <xsl:call-template name="pressureConvert"> + <xsl:with-param name="number"> + <xsl:value-of select="TANK/PSTART|tank/pstart"/> + </xsl:with-param> + <xsl:with-param name="units" select="$units"/> + </xsl:call-template> </xsl:attribute> <xsl:attribute name="end"> - <xsl:value-of select="TANK/PEND|tank/pend"/> + <xsl:call-template name="pressureConvert"> + <xsl:with-param name="number"> + <xsl:value-of select="TANK/PEND|tank/pend"/> + </xsl:with-param> + <xsl:with-param name="units" select="$units"/> + </xsl:call-template> </xsl:attribute> <xsl:attribute name="o2"> <xsl:value-of select="O2|o2"/> |