xsl-list
[Top] [All Lists]

Re: alphabetic set of xsl:result-document

2005-08-23 06:49:31
On 8/22/05, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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