Re: [xsl] finding word count within a document, with xsl:accumulator

Subject: Re: [xsl] finding word count within a document, with xsl:accumulator
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Jan 2021 21:49:26 -0000
Search this list history, you'll find questions on real use-cases.

Christophe

Le 22/01/2021 C 18:51, Liam R. E. Quin liam@xxxxxxxxxxxxxxxx a C)critB :
On Fri, 2021-01-22 at 06:33 +0000, Mukul Gandhi
mukulg@xxxxxxxxxxxxxxxxx wrote:
On Thu, Jan 21, 2021 at 5:05 PM Peter Flynn peter@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

I haven't found a use case for xsl:accumulator yet.
The case for accumulators is when you need to gather multiple
essentially independent sets of data from the input.

They are vey useful if you are streaming. Otherwise, a two-pass
approach is often much faster and may also use less memory.

Current Thread