summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-06-26 11:44:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-27 14:15:35 +0900
commitbbde0a1741fe981a8dfe991e6fa3a740ba9b28ac (patch)
tree2b74ef61dcf84ab5cff9c990ca1e16635cb4e46e /xslt
parentf091b8b7052a3a1137573c6cca80c4c49ac4d54e (diff)
downloadsubsurface-bbde0a1741fe981a8dfe991e6fa3a740ba9b28ac.tar.gz
Two simple export UDDF fixes
This fixes issues #418 and $419. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'xslt')
-rw-r--r--xslt/uddf-export.xslt8
1 files changed, 4 insertions, 4 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index bf4735f38..d89a5b071 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -112,9 +112,9 @@
</lastname>
</xsl:when>
<xsl:otherwise>
- <first_name>
+ <firstname>
<xsl:value-of select="."/>
- </first_name>
+ </firstname>
</xsl:otherwise>
</xsl:choose>
</personal>
@@ -168,10 +168,10 @@
<xsl:value-of select="concat($o2, '/', $he)"/>
</name>
<o2>
- <xsl:value-of select="$o2"/>
+ <xsl:value-of select="format-number($o2 div 100, '0.00')"/>
</o2>
<he>
- <xsl:value-of select="$he"/>
+ <xsl:value-of select="format-number($he div 100, '0.00')"/>
</he>
</mix>
</xsl:for-each>