summaryrefslogtreecommitdiffstats
path: root/xslt/divelogs-export.xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-08-04 06:17:35 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-04 07:21:20 -0700
commita65a8267a53b72e472128f7758cbe69f3113da6e (patch)
treefad54971df7620013603484778413fd3d8d45192 /xslt/divelogs-export.xslt
parent264aa883b2c071951a52e620a3c23e6caef1f7f2 (diff)
downloadsubsurface-a65a8267a53b72e472128f7758cbe69f3113da6e.tar.gz
divelogs.de import: improve export for temperature
Add support for exporting dive temperatures if they are user entered instead coming from a DC. Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt/divelogs-export.xslt')
-rw-r--r--xslt/divelogs-export.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index bf12950e0..eaa1c510c 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -247,10 +247,10 @@
<xsl:value-of select="substring-before(node()/depth/@mean, ' ')"/>
</MEANDEPTH>
<AIRTEMP>
- <xsl:value-of select="substring-before(node()/temperature/@air, ' ')"/>
+ <xsl:value-of select="substring-before(node()/temperature/@air|divetemperature/@air, ' ')"/>
</AIRTEMP>
<WATERTEMPMAXDEPTH>
- <xsl:value-of select="substring-before(node()/temperature/@water, ' ')"/>
+ <xsl:value-of select="substring-before(node()/temperature/@water|divetemperature/@water, ' ')"/>
</WATERTEMPMAXDEPTH>
<xsl:variable name="manual">
<xsl:choose>