diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-12-22 23:04:05 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-22 14:25:35 -0800 |
commit | 663f6eef0b863d7d536544e1b31b47cd79533224 (patch) | |
tree | 895ff2eb874f55b160fcaf148a3ba65dcbfbaf5f /xslt/xml2manualcsv.xslt | |
parent | f9b7b9bba03341c66c6289e6baa88f5b92ee2c5b (diff) | |
download | subsurface-663f6eef0b863d7d536544e1b31b47cd79533224.tar.gz |
Include empty location and gps if non is given
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/xml2manualcsv.xslt')
-rw-r--r-- | xslt/xml2manualcsv.xslt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xslt/xml2manualcsv.xslt b/xslt/xml2manualcsv.xslt index 6239bfec9..aab66af7c 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>""</xsl:text> + <xsl:value-of select="$fs"/> + <xsl:text>""</xsl:text> + </xsl:if> <xsl:apply-templates select="divemaster"/> <xsl:apply-templates select="buddy"/> <xsl:apply-templates select="suit"/> |