Need to discard dive site notes on csv export..

miika
From ab23245e2acee32410fa680d0eaab098af69b5c2 Mon Sep 17 00:00:00 2001
From: Miika Turkia <[email protected]>
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 <[email protected]>
---
 xslt/xml2manualcsv.xslt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt
index d6c1a8b..82f4979 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"/>
-- 
2.5.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to