This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Column Calculations in XSLT


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]