summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2016-03-21 18:08:16 +0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-22 08:45:04 -0700
commitee0bdd90430998bdd73aa6afdc9454676eaaae7a (patch)
tree624bf107ac0231fb6f6133d82c33366ce58ff5d8 /xslt
parentcbd332fbcca16266c010e48f2b536531f91974c2 (diff)
downloadsubsurface-ee0bdd90430998bdd73aa6afdc9454676eaaae7a.tar.gz
CSV export
Need to discard dive site notes on csv export.. miika From ab23245e2acee32410fa680d0eaab098af69b5c2 Mon Sep 17 00:00:00 2001 From: Miika Turkia <miika.turkia@gmail.com> Date: Mon, 21 Mar 2016 17:50:28 +0800 Subject: [PATCH] CSV export: discard dive site notes The new format of divesite management breaks the CSV export as the notes of divesites are matched. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/xml2manualcsv.xslt2
1 files changed, 2 insertions, 0 deletions
diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt
index d6c1a8b3b..82f4979d4 100644
--- a/xslt/xml2manualcsv.xslt
+++ b/xslt/xml2manualcsv.xslt
@@ -17,6 +17,8 @@
<xsl:apply-templates select="dive|trip/dive"/>
</xsl:template>
+ <xsl:template match="divesites/site/notes"/>
+
<xsl:template match="dive">
<xsl:text>&quot;</xsl:text>
<xsl:value-of select="@number"/>