diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-05-04 20:03:26 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-04 10:59:10 -0700 |
commit | 707a1f7af71b441f333bcf45fd980a176542aab3 (patch) | |
tree | 9149d4943bc5f97b7922dd822ab6413389f1f5c3 | |
parent | 49e10f655533d4768ba080691c9abcd8c0f4e1b7 (diff) | |
download | subsurface-707a1f7af71b441f333bcf45fd980a176542aab3.tar.gz |
Add new fields as extra data on MacDive importv4.4.2
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | xslt/MacDive.xslt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xslt/MacDive.xslt b/xslt/MacDive.xslt index da52f3319..444876721 100644 --- a/xslt/MacDive.xslt +++ b/xslt/MacDive.xslt @@ -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"> |