[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: alphabetic set of xsl:result-document

Subject: Re: alphabetic set of xsl:result-document
From: James Cummings <cummings.james@xxxxxxxxx>
Date: Tue, 23 Aug 2005 14:49:31 +0100
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.