summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/divelogs-export.xslt8
1 files changed, 8 insertions, 0 deletions
diff --git a/xslt/divelogs-export.xslt b/xslt/divelogs-export.xslt
index b23ee4806..bf12950e0 100644
--- a/xslt/divelogs-export.xslt
+++ b/xslt/divelogs-export.xslt
@@ -56,6 +56,14 @@
</LOCATION>
</xsl:when>
<xsl:otherwise>
+ <xsl:if test="/divelog/divesites/site[@uuid = $uuid]/geo/@value != ''">
+ <LOCATION>
+ <xsl:for-each select="/divelog/divesites/site[@uuid = $uuid]/geo/@value">
+ <xsl:if test="position() != 1"> / </xsl:if>
+ <xsl:value-of select="."/>
+ </xsl:for-each>
+ </LOCATION>
+ </xsl:if>
<SITE>
<xsl:value-of select="$location"/>
</SITE>