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>
This commit is contained in:
Miika Turkia 2014-12-22 23:04:05 +02:00 committed by Dirk Hohndel
parent f9b7b9bba0
commit 663f6eef0b

View file

@ -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"/>