This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Column Calculations in XSLT
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Column Calculations in XSLT
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 30 Jun 2000 10:14:17 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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