Trip support for CSV export of dive details

Debugging the tests with new test dive, I noticed that CSV export does
not work, if the exported XML includes trips.

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
Miika Turkia 2020-05-21 19:18:02 +03:00 committed by Dirk Hohndel
parent 5a7e11b0bc
commit 0acf8721d3

View file

@ -38,7 +38,7 @@
$fs)"/> $fs)"/>
<!-- Print cylinder info according to the amount of cylinders in dive --> <!-- Print cylinder info according to the amount of cylinders in dive -->
<xsl:for-each select="dive/cylinder"> <xsl:for-each select="dive/cylinder|trip/dive/cylinder">
<xsl:value-of select="concat( <xsl:value-of select="concat(
'&quot;cylinder size (cuft)&quot;', '&quot;cylinder size (cuft)&quot;',
$fs, $fs,
@ -100,7 +100,7 @@
$fs)"/> $fs)"/>
<!-- Print cylinder info according to the amount of cylinders in dive --> <!-- Print cylinder info according to the amount of cylinders in dive -->
<xsl:for-each select="dive/cylinder"> <xsl:for-each select="dive/cylinder|trip/dive/cylinder">
<xsl:value-of select="concat( <xsl:value-of select="concat(
'&quot;cylinder size (l)&quot;', '&quot;cylinder size (l)&quot;',
$fs, $fs,