Support for trimix on jdivelog import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2017-10-26 12:45:27 -04:00 committed by mturkia
parent a08e8a2d04
commit 5f88b62cb1

View file

@ -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 -->