summaryrefslogtreecommitdiffstats
path: root/xslt/manualcsv2xml.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/manualcsv2xml.xslt')
-rw-r--r--xslt/manualcsv2xml.xslt10
1 files changed, 10 insertions, 0 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt
index 15eb8f00d..83c543581 100644
--- a/xslt/manualcsv2xml.xslt
+++ b/xslt/manualcsv2xml.xslt
@@ -17,6 +17,7 @@
<xsl:param name="meanDepthField" select="meanDepthField"/>
<xsl:param name="divemasterField" select="divemasterField"/>
<xsl:param name="buddyField" select="buddyField"/>
+ <xsl:param name="suitField" select="suitField"/>
<xsl:param name="notesField" select="notesField"/>
<xsl:param name="weightField" select="weightField"/>
<xsl:param name="dateformat" select="dateformat"/>
@@ -343,6 +344,15 @@
</buddy>
</xsl:if>
+ <xsl:if test="$suitField >= 0">
+ <suit>
+ <xsl:call-template name="getFieldByIndex">
+ <xsl:with-param name="index" select="$suitField"/>
+ <xsl:with-param name="line" select="$line"/>
+ </xsl:call-template>
+ </suit>
+ </xsl:if>
+
<xsl:if test="$notesField >= 0">
<notes>
<xsl:call-template name="getFieldByIndex">