This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Summing a Calculation
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Summing a Calculation
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Fri, 22 Jun 2001 10:53:23 -0400
- References: <B8BE783DF30DD51182DC00508BF330EE1657A9@us-bv-m03.bv.tek.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
It does work but does not answer the original problem, which needs
sum(quantity*price).
Tom P
[<bryan.s.schnabel@exgate.tek.com>]
> This works:
>
> <xsl:template match="order">
> <b>
> <xsl:text>Total Price: </xsl:text>
> <xsl:value-of select="sum(item/price)"/>
> </b>
> </xsl:template>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list