summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
Diffstat (limited to 'xslt')
-rw-r--r--xslt/uddf-export.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index 2180a2806..89bf6c137 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -581,8 +581,8 @@
</visibility>
<equipmentused>
<leadquantity>
- <xsl:if test="sum(xt:node-set($trimmedweightlist)) >= 0">
- <xsl:value-of select="sum(xt:node-set($trimmedweightlist))"/>
+ <xsl:if test="sum(xt:node-set($trimmedweightlist)/node()) >= 0">
+ <xsl:value-of select="sum(xt:node-set($trimmedweightlist)/node())"/>
</xsl:if>
</leadquantity>
</equipmentused>