xsl-list
[Top] [All Lists]

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

2012-04-21 14:12:32
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

--~------------------------------------------------------------------
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>
--~--