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>
This commit is contained in:
Miika Turkia 2014-12-13 16:38:19 +02:00 committed by Dirk Hohndel
parent 453aeab470
commit cb0762a3ff

View file

@ -385,7 +385,7 @@
<xsl:if test="@name = 'gaschange'"> <xsl:if test="@name = 'gaschange'">
<switchmix> <switchmix>
<xsl:attribute name="ref"> <xsl:attribute name="ref">
<xsl:value-of select="'mix' + @value"/> <xsl:value-of select="concat('mix', @value)"/>
</xsl:attribute> </xsl:attribute>
</switchmix> </switchmix>
</xsl:if> </xsl:if>
@ -435,7 +435,7 @@
<xsl:for-each select="preceding-sibling::event[@time = $time and @name='gaschange']/@value"> <xsl:for-each select="preceding-sibling::event[@time = $time and @name='gaschange']/@value">
<switchmix> <switchmix>
<xsl:attribute name="ref"> <xsl:attribute name="ref">
<xsl:value-of select="'mix' + ."/> <xsl:value-of select="concat('mix', .)"/>
</xsl:attribute> </xsl:attribute>
</switchmix> </switchmix>
</xsl:for-each> </xsl:for-each>