Re: [xsl] Summing a Calculation

Subject: Re: [xsl] Summing a Calculation
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 10:53:23 -0400
It does work but does not answer the original problem, which needs
sum(quantity*price).

Tom P

[<bryan.s.schnabel@xxxxxxxxxxxxxx>]

> 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


Current Thread