diff options
Diffstat (limited to 'xslt')
-rw-r--r-- | xslt/manualcsv2xml.xslt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xslt/manualcsv2xml.xslt b/xslt/manualcsv2xml.xslt index 544220a37..877410ba7 100644 --- a/xslt/manualcsv2xml.xslt +++ b/xslt/manualcsv2xml.xslt @@ -15,6 +15,7 @@ <xsl:param name="gpsField" select="gpsField"/> <xsl:param name="maxDepthField" select="maxDepthField"/> <xsl:param name="meanDepthField" select="meanDepthField"/> + <xsl:param name="divemasterField" select="divemasterField"/> <xsl:param name="buddyField" select="buddyField"/> <xsl:param name="notesField" select="notesField"/> <xsl:param name="weightField" select="weightField"/> @@ -311,6 +312,15 @@ </depth> </xsl:if> + <xsl:if test="$divemasterField >= 0"> + <divemaster> + <xsl:call-template name="getFieldByIndex"> + <xsl:with-param name="index" select="$divemasterField"/> + <xsl:with-param name="line" select="$line"/> + </xsl:call-template> + </divemaster> + </xsl:if> + <xsl:if test="$buddyField >= 0"> <buddy> <xsl:call-template name="getFieldByIndex"> |