summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2017-05-03 21:59:54 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-04 10:51:36 -0700
commit0d36b6e4e8305699f35ee57ceae5a2a00f429195 (patch)
tree95e3200a3a582a0488f723883740e9eb529f2b50 /xslt
parentfe927139ecfd4270d478e3f9c96449456eb51551 (diff)
downloadsubsurface-0d36b6e4e8305699f35ee57ceae5a2a00f429195.tar.gz
Due to clarity fix indentation in separate commit
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/uddf.xslt18
1 files changed, 9 insertions, 9 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 81fb294d1..81435b301 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -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>