Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL Sum for details items XSL Sum for details itemsTo: NULL Date: 2/8/2008 11:24:00 PM
Hi ,
How to compute sum of items @sumaKwota and @sumaPozostaje from
template
<xsl:template match="RECORD" mode="r7">
<P type="text" name="@Numer" >
<xsl:attribute name="value">
<xsl:value-of select="@Numer"/>
</xsl:attribute>
</P>
<P type="text" name="@Data" >
<xsl:attribute name="value">
<xsl:value-of select="@Data"/>
</xsl:attribute>
</P>
<P type="text" name="@Dokument" >
<xsl:attribute name="value">
<xsl:value-of select="@Dokument"/>
</xsl:attribute>
</P>
<P type="text" name="@TrP_FormaNazwa" >
<xsl:attribute name="value">
<xsl:value-of select="@TrP_FormaNazwa"/>
</xsl:attribute>
</P>
<P type="text" name="@Termin" >
<xsl:attribute name="value">
<xsl:value-of select="@Termin"/>
</xsl:attribute>
</P>
<P type="number" prec="2" name="@kwota" >
<xsl:attribute name="value">
<xsl:value-of select="@kwota"/>
</xsl:attribute>
</P>
<P type="number" prec="2" name="@pozostaje" >
<xsl:attribute name="value">
<xsl:value-of select="@pozostaje"/>
</xsl:attribute>
</P>
<P type="text" name="sumaKwota" >
<xsl:attribute name="value">
<xsl:value-of select="@sumaKwota"/>
</xsl:attribute>
</P>
<P type="text" name="sumaPozostaje" >
<xsl:attribute name="value">
<xsl:value-of select="@sumaPozostaje"/>
</xsl:attribute>
</P>
</xsl:template>
and return it into another template ??
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
