Re: [xsl] alphabetic set of xsl:result-document

Subject: Re: [xsl] alphabetic set of xsl:result-document
From: James Cummings <cummings.james@xxxxxxxxx>
Date: Tue, 23 Aug 2005 14:49:31 +0100
On 8/22/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> > are you saying I should do something along the (currently-broken)
>
> sir, surely you are not suggesting that I would suggest a broken
> approach? It will have to be pistols at dawn...

No sir, you are a scholar and a gentleman.  I was saying that my
interpretation of your suggestion was broken.  It is mine the feeble
wit and addled brain, not yours.

> . selects exctly one thing and lower-case() doesn't change that so this
> line isn't doing very much: you are sorting/grouping a sequence of length
1.
> <xsl:for-each-group select="lower-case(.)"
>
> You have the groups inside out: you first want (I think) to group on
initial
> letter, then, within that, group on the words.

Ah! That explains it!  Your solution, as always, worked perfectly on
the test file and now I'll go try to feed it into the more complex
version without causing too much trouble.

Indebted as always,
-James

--
James Cummings, Cummings dot James at GMail dot com

Current Thread