[PATCH 6/7] Added <leadquantity> to UDDF export, showing weight used.

Martin Long martin at longhome.co.uk
Tue Dec 9 15:24:52 PST 2014


---
 xslt/uddf-export.xslt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xslt/uddf-export.xslt b/xslt/uddf-export.xslt
index e558ca5..b4c3cd9 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>
-- 
1.9.1



More information about the subsurface mailing list