Signed-off-by: Miika Turkia <[email protected]>
---
 xslt/xml2manualcsv.xslt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt
index 6239bfe..aab66af 100644
--- a/xslt/xml2manualcsv.xslt
+++ b/xslt/xml2manualcsv.xslt
@@ -53,6 +53,12 @@
       </xsl:otherwise>
     </xsl:choose>
     <xsl:apply-templates select="location"/>
+    <xsl:if test="string-length(location) = 0">
+      <xsl:value-of select="$fs"/>
+      <xsl:text>&quot;&quot;</xsl:text>
+      <xsl:value-of select="$fs"/>
+      <xsl:text>&quot;&quot;</xsl:text>
+    </xsl:if>
     <xsl:apply-templates select="divemaster"/>
     <xsl:apply-templates select="buddy"/>
     <xsl:apply-templates select="suit"/>
-- 
1.9.1

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

Reply via email to