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:55:47 -0700 |
commit | 178fb5152f7d14225943cd9e872e1ea5f7a8b0d9 (patch) | |
tree | 631fe3be9ed3b5d084d8ee435119c4d6ddf83f1d /xslt | |
parent | 01faebc99bd337e82dda81999281165c74d22e8b (diff) | |
download | subsurface-178fb5152f7d14225943cd9e872e1ea5f7a8b0d9.tar.gz |
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>
Diffstat (limited to 'xslt')
-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"> |