xsl-list
[Top] [All Lists]

Re: Sorting on the SUM aggregate

2003-04-04 10:45:17
"David Petersen" <david(_at_)dipetersen(_dot_)com> wrote in message
news:002c01c2fa34$64606ec0$0601a8c0(_at_)dipetersen(_dot_)com(_dot_)(_dot_)(_dot_)
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



<Prev in Thread] Current Thread [Next in Thread>