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>
This commit is contained in:
Miika Turkia 2018-08-04 06:17:35 +03:00 committed by Dirk Hohndel
parent 264aa883b2
commit a65a8267a5

View file

@ -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>