[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSLT sorting for index alphabetization
Subject: Re: [xsl] XSLT sorting for index alphabetization From: "Jirka Kosek jirka@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 16 Jun 2014 09:49:46 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13.6.2014 23:06, David Sewell dsewell@xxxxxxxxxxxx wrote: > I spent a bit of time trying to figure out how one might implement > the word-by-word system (described at the above URL) using > xsl:sort, but I'm not sure it's possible--it seems that > word-by-word would require a full-blown recursive sorting routine. > I'm happy to be proven wrong, though, by anyone who has tackled > this before or is cleverer than I am about such things. In XSLT 2.0 you can use user- or implementation-defined collations using collation="" attribute on xsl:sort. Using this feature and some effort you can implement any collation. Jirka - -- - ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@xxxxxxxx http://xmlguru.cz - ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing - ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. - ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz - ------------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlOevasACgkQzwmSw7n0dR7MfQCgmIpBXB8oStwH+2k3bcPPuQnb 08cAnRq+qkqch4uhJKa0OJ4ytnKspWrd =CjZj -----END PGP SIGNATURE-----
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] XSLT sorting for index alphab, David Sewell dsewell | Thread | Re: [xsl] XSLT sorting for index al, Wolfgang Laun wolfga |
Re: [xsl] apply-templates repeats i, Dimitre Novatchev dn | Date | Re: [xsl] XSLT sorting for index al, Wolfgang Laun wolfga |
Month |