RE: Column Calculations in XSLT

Subject: RE: Column Calculations in XSLT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 30 Jun 2000 10:14:17 +0100
> I was doing straight summation on the column level using the
> sum(Range/purchase) function and was doing great. But when I 
> tried more complex calculations like
> 
> sum(Range/purchase * Range/Quantity) I couldn't generate the output
> file.
> 
> Any idea on how to do these calculations.
> 
not easy, I'm afraid, it requries a recursive named template. There's an
example on page 502 of my XSLT Programmers Reference.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread