aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Long <martin@longhome.co.uk>2014-12-09 23:24:52 +0000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-10 08:14:53 -0700
commitf460ef581a58dfa99875695843f48cc3031b1d45 (patch)
tree173cc61bbcd3f411c3dbe20f0c5bc20b200a72bf
parent721760e532a9a9525781a81d4dae6580d3b3d783 (diff)
downloadsubsurface-f460ef581a58dfa99875695843f48cc3031b1d45.tar.gz
Added <leadquantity> to UDDF export, showing weight used.
Signed-off-by: Marton Long <martin@longhome.co.uk> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--xslt/uddf-export.xslt4
1 files changed, 4 insertions, 0 deletions
diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index 65911a5e1..5037c71e7 100644
--- a/xslt/uddf-export.xslt
+++ b/xslt/uddf-export.xslt
@@ -237,6 +237,10 @@
</xsl:attribute>
</link>
</xsl:if>
+ <equipmentused>
+ <leadquantity><xsl:value-of select="substring-before(weightsystem/@weight, ' ')"/>
+ </leadquantity>
+ </equipmentused>
</informationbeforedive>
<samples>