Add new fields as extra data on MacDive import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-05-04 20:03:26 +03:00 committed by Dirk Hohndel
parent 01faebc99b
commit 178fb5152f

View file

@ -339,6 +339,18 @@
</xsl:if>
</temperature>
<xsl:if test="current != ''">
<extradata key="current" value="{current}"/>
</xsl:if>
<xsl:if test="surfaceConditions != ''">
<extradata key="surfaceConditions" value="{surfaceConditions}"/>
</xsl:if>
<xsl:if test="entryType != ''">
<extradata key="entryType" value="{entryType}"/>
</xsl:if>
<xsl:for-each select="samples/sample">
<sample>
<xsl:attribute name="time">