[xsl] Re: "sum" of "substring"

Subject: [xsl] Re: "sum" of "substring"
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 23 Oct 2003 22:03:25 +0200
>  I want to total up the values that occupy positions 24 thru 28
> from all records of "TYPE1".
> Is there any way of doing this?
> I thought I should use "sum" but I can't figure out the syntax needed.

The "transform-and-sum" template from FXSL allows such calculations to be
specified and carried out in a straightforward manner.

See for example:

     http://sources.redhat.com/ml/xsl-list/2001-11/msg00831.html



=====
Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL





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


Current Thread