[xsl] Re: Sorting on the SUM aggregate

Subject: [xsl] Re: Sorting on the SUM aggregate
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 4 Apr 2003 19:45:17 +0200
"David Petersen" <david@xxxxxxxxxxxxxx> wrote in message
news:002c01c2fa34$64606ec0$0601a8c0@xxxxxxxxxxxxxxxxx
> I have the following XML document and XSL to which have been the subject
> of another question on this list. The XSL creates a presentation that
> shows the totals for each BrochureName.  The problem with the code is
> that it sorts across the whole document so when you look at the
> presentation, it appears that it isn't sorted if one of the aggregate
> fields are selected to sort on.

Which aggregate fields (Do you mean elements?)? Name one.

> Does anyone know of a way to sort on
> the result of the Aggregate SUM?

There isn't a SUM field/element in the source.xml provided by you.


=====
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