Below is my XML input:
<?xml version="1.0" encoding="utf-8" ?>
<LogiusInhouse>
<qty9 field="QTY_9,11#">
<type>90</type>
<value>12</value>
</qty9>
<qty9 field="QTY_9,11#">
<type>90</type>
<value>12</value>
</qty9>
<dtm9 field="DTM_9,11#">
<type>145</type>
<date>20130308</date>
<format>102</format>
</dtm9>
</LogiusInhouse>
XSL:
<xsl:template match="/LogiusInhouse">
<xsl:value-of select="abs(sum(qty9[type='90']/value))div 1000 "/>
</xsl:template>
My problem is that I need to get the absolute amount after it needs to be divided by 1000, but I do not get the result. Please help me with this.
source
share