[XSL-LIST Mailing List Archive Home]
Re: [xsl] simple summation question
Subject: Re: [xsl] simple summation question|
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 31 Dec 2002 00:41:45 -0800 (PST)
--- I wrote:
> The solution provided by Brian is O(N^2), a solution with linear
> complexity is produced using the "scanl" template of the FXSL
Ooppss... I thought the question was about calculating *running total*.
Of course, calculating sub-totals is very straightforward.
http://fxsl.sourceforge.net/ -- the home of FXSL
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list