summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xslt/udcf.xslt8
1 files changed, 5 insertions, 3 deletions
diff --git a/xslt/udcf.xslt b/xslt/udcf.xslt
index b3c93e8aa..58dc80337 100644
--- a/xslt/udcf.xslt
+++ b/xslt/udcf.xslt
@@ -68,9 +68,11 @@
<xsl:attribute name="description">
<xsl:value-of select="MIXNAME|mixname"/>
</xsl:attribute>
- <xsl:attribute name="size">
- <xsl:value-of select="concat(TANK/TANKVOLUME|tank/tankvolume, ' l')"/>
- </xsl:attribute>
+ <xsl:if test="TANK/TANKVOLUME|tank/tankvolume != ''">
+ <xsl:attribute name="size">
+ <xsl:value-of select="concat(TANK/TANKVOLUME|tank/tankvolume, ' l')"/>
+ </xsl:attribute>
+ </xsl:if>
<xsl:attribute name="start">
<xsl:value-of select="TANK/PSTART|tank/pstart"/>
</xsl:attribute>