summaryrefslogtreecommitdiffstats
path: root/xslt/DivingLog.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/DivingLog.xslt')
-rw-r--r--xslt/DivingLog.xslt6
1 files changed, 6 insertions, 0 deletions
diff --git a/xslt/DivingLog.xslt b/xslt/DivingLog.xslt
index abf22d0d1..49f617c91 100644
--- a/xslt/DivingLog.xslt
+++ b/xslt/DivingLog.xslt
@@ -108,6 +108,12 @@
</xsl:attribute>
</xsl:if>
+ <xsl:if test="Gas != ''">
+ <xsl:attribute name="o2">
+ <xsl:value-of select="substring-after(substring-before(Gas, ')'), 'O2=')"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:if test="He != ''">
<xsl:attribute name="he">
<xsl:value-of select="concat(He, '%')"/>