Include O2 percentage in DivingLog import

Seems there is a different way to state O2 percentage in DivingLog.
This patch includes that format along with the previously seen one.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2013-12-24 18:37:56 +02:00 committed by Dirk Hohndel
parent b07af31ea5
commit dbd14f8662

View file

@ -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, '%')"/>