diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-02-18 19:55:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-18 11:10:54 -0800 |
commit | 541ec4fcac56aa13ea09bd8a4a30902d6f5109af (patch) | |
tree | 97c2da86682391e91168c90cf35a34443479569b | |
parent | b87eb781920cd85534d295f75a3b61d382c088a5 (diff) | |
download | subsurface-541ec4fcac56aa13ea09bd8a4a30902d6f5109af.tar.gz |
Add some extra data for DiveLog import
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | xslt/DiveLog.xslt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt index 818b50d49..7d21b10bd 100644 --- a/xslt/DiveLog.xslt +++ b/xslt/DiveLog.xslt @@ -156,6 +156,16 @@ <xsl:value-of select="@Computer"/> </xsl:attribute> + <extradata key="Sample Interval" value="{@SampleInterval}"/> + + <xsl:if test="@AltitudeMode != ''"> + <extradata key="Altitude Mode" value="{@AltitudeMode}"/> + </xsl:if> + + <xsl:if test="@PersonalMode != ''"> + <extradata key="Personal Mode" value="{@PersonalMode}"/> + </xsl:if> + <depth> <xsl:attribute name="max"> <xsl:call-template name="depthConvert"> |