[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Preferred declarative approach for outputting tallies based on complex triggers


Subject: Re: [xsl] Preferred declarative approach for outputting tallies based on complex triggers
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 10 Apr 2014 11:26:10 -0700

On Thu, Apr 10, 2014 at 5:20 AM, David Rudel <fwqhgads@xxxxxxxxx> wrote:
> And similar information like the above that can then be brought
> together at the end to give the results I want in a single pass.


One can (and probably should) use a single call to a fold-XXXX
function to achieve this.

The "zero value" (which is also the intermediary accumulator), can be
of any wanted structured type, so it can hold all wanted results at
the same time.

-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.


Current Thread