summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-10-26 12:45:27 -0400
committerGravatar mturkia <miika.turkia@gmail.com>2017-10-26 13:13:24 -0400
commit5f88b62cb148a1a31e17a529dfac580f2e0262a3 (patch)
tree3c9a438bc960e5b7c11812bf8ca13dad8d14a98d
parenta08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d (diff)
downloadsubsurface-5f88b62cb148a1a31e17a529dfac580f2e0262a3.tar.gz
Support for trimix on jdivelog import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
-rw-r--r--xslt/jdivelog2subsurface.xslt5
1 files changed, 4 insertions, 1 deletions
diff --git a/xslt/jdivelog2subsurface.xslt b/xslt/jdivelog2subsurface.xslt
index 5f3f37d2c..329ccc5f9 100644
--- a/xslt/jdivelog2subsurface.xslt
+++ b/xslt/jdivelog2subsurface.xslt
@@ -232,9 +232,12 @@ Comment: <xsl:value-of select="Comment"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
- <xsl:attribute name="value">
+ <xsl:attribute name="o2">
<xsl:value-of select="ancestor::DIVE/GASES/MIX[MIXNAME=current()]/O2 * 100" />
</xsl:attribute>
+ <xsl:attribute name="he">
+ <xsl:value-of select="ancestor::DIVE/GASES/MIX[MIXNAME=current()]/HE * 100" />
+ </xsl:attribute>
</event>
</xsl:for-each>
<!-- end gas change -->