mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Due to clarity fix indentation in separate commit
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
This commit is contained in:
parent
fe927139ec
commit
0d36b6e4e8
1 changed files with 9 additions and 9 deletions
|
@ -174,15 +174,15 @@
|
|||
<xsl:if test="//u:divesite/u:site[@id = $ref]/u:name">
|
||||
<location>
|
||||
<xsl:choose>
|
||||
<xsl:when test="//u:divesite/u:site[@id=$ref]/u:geography/u:longitude != ''">
|
||||
<xsl:attribute name="gps">
|
||||
<xsl:value-of select="concat(//u:divesite/u:site[@id=$ref]/u:geography/u:latitude, ' ', //u:divesite/u:site[@id=$ref]/u:geography/u:longitude)"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="//u:divesite/u:site[@id=$ref]/u:name"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="//u:divesite/u:site[@id=$ref]/u:name"/>
|
||||
</xsl:otherwise>
|
||||
<xsl:when test="//u:divesite/u:site[@id=$ref]/u:geography/u:longitude != ''">
|
||||
<xsl:attribute name="gps">
|
||||
<xsl:value-of select="concat(//u:divesite/u:site[@id=$ref]/u:geography/u:latitude, ' ', //u:divesite/u:site[@id=$ref]/u:geography/u:longitude)"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="//u:divesite/u:site[@id=$ref]/u:name"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="//u:divesite/u:site[@id=$ref]/u:name"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</location>
|
||||
</xsl:if>
|
||||
|
|
Loading…
Add table
Reference in a new issue