Thanks, Dimitre.
The web link is very helpful. I got my problem fixed.
Narisa
-----Original Message-----
From: Dimitre Novatchev [mailto:dnovatchev@xxxxxxxxx]
Sent: Wednesday, October 23, 2002 12:06 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: subtotal on subgroups question
--- Ibeling, Narisa wrote:
> I am grouping the output data in geography and then country. I got
> it
> to work. But I am having difficulties getting the subtotals by
> geography.
> Say, I need to get the totals of Europe and Asian or North America.
> I
> use sum() function to get the grand total but I could not get the
> subtotals.
[code snipped]
> Your help is greatly appreciated.
>
>
> Thanks,
>
> Narisa Ibeling
Hi Narisa,
Do have a look at the following snippet:
"Grouping with totals/subtotals -- nested Muenchian method"
at:
http://www.topxml.com/code/default.asp?p=3&id=v20010507032722
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|