[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] for-each-group grouping accented versions of letters together


Subject: Re: [xsl] for-each-group grouping accented versions of letters together
From: Graydon <graydon@xxxxxxxxx>
Date: Sat, 21 Apr 2012 15:12:15 -0400

On Sat, Apr 21, 2012 at 06:24:39PM +0100, Michael Kay scripsit:
> Gerrit's solution of using normalize-unicode should work. Another
> solution is to do the grouping using a collation that ignores
> accents. Unfortunately, collation URIs are processor-dependent - but
> there are various ways you can parameterize them if you want
> portability. In Saxon, you would use
> 
> <xsl:for-each-group
> collation="http://saxon.sf.net/collation?ignore-modifiers=yes" ...

Fortunately for me, I'm using Saxon.

Thank you!

Nice to know that there's switch for (what I presume to be) this common
case.

-- Graydon


Current Thread