mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:03:23 +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>
|
</LOCATION>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<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>
|
<SITE>
|
||||||
<xsl:value-of select="$location"/>
|
<xsl:value-of select="$location"/>
|
||||||
</SITE>
|
</SITE>
|
||||||
|
|
Loading…
Add table
Reference in a new issue