mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:13:24 +00:00
Add geolocation to divelogs.de export
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
4375a87598
commit
1cd4f3dbb2
1 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue