diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-12-13 16:38:19 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-13 08:51:59 -0800 |
commit | cb0762a3ffeb209e2e5fb4af45acafacfc1dec77 (patch) | |
tree | 1cd6730b7fe01972a3f0be5c93622f9eb192b551 /xslt/uddf-export.xslt | |
parent | 453aeab4707badc25e669769dc575a27dc1a8e3d (diff) | |
download | subsurface-cb0762a3ffeb209e2e5fb4af45acafacfc1dec77.tar.gz |
Fix switchmix references on UDDF export
The switchmix values must be concatenated properly.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt/uddf-export.xslt')
-rw-r--r-- | xslt/uddf-export.xslt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt index 0c428b97b..03b08dea1 100644 --- a/xslt/uddf-export.xslt +++ b/xslt/uddf-export.xslt @@ -385,7 +385,7 @@ <xsl:if test="@name = 'gaschange'"> <switchmix> <xsl:attribute name="ref"> - <xsl:value-of select="'mix' + @value"/> + <xsl:value-of select="concat('mix', @value)"/> </xsl:attribute> </switchmix> </xsl:if> @@ -435,7 +435,7 @@ <xsl:for-each select="preceding-sibling::event[@time = $time and @name='gaschange']/@value"> <switchmix> <xsl:attribute name="ref"> - <xsl:value-of select="'mix' + ."/> + <xsl:value-of select="concat('mix', .)"/> </xsl:attribute> </switchmix> </xsl:for-each> |