summaryrefslogtreecommitdiffstats
path: root/xslt/uddf.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/uddf.xslt')
-rw-r--r--xslt/uddf.xslt15
1 files changed, 15 insertions, 0 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 0604b2246..26947e598 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -278,6 +278,21 @@
</xsl:for-each>
</xsl:if>
+ <xsl:if test="/uddf/gasdefinitions != ''">
+ <xsl:for-each select="/uddf/gasdefinitions/mix">
+ <cylinder description="{name}">
+ <xsl:attribute name="o2">
+ <xsl:value-of select="concat(o2 * 100, '%')"/>
+ </xsl:attribute>
+ <xsl:if test="he &gt; 0">
+ <xsl:attribute name="he">
+ <xsl:value-of select="concat(he * 100, '%')"/>
+ </xsl:attribute>
+ </xsl:if>
+ </cylinder>
+ </xsl:for-each>
+ </xsl:if>
+
<xsl:for-each select="tankdata|u:tankdata|u1:tankdata">
<cylinder>
<xsl:variable name="gas">