[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: alphabetic set of xsl:result-document
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|