Subject: Re: [xsl] Grouping by letters but keep symbols together From: "Jirka Kosek jirka@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 29 Jan 2019 21:04:35 -0000 |
On 25.1.2019 16:32, Eliot Kimber ekimber@xxxxxxxxxxxx wrote: > Beyond all these suggestions, I always create functions that return > grouping and sort keys as the logic could be much more > sophisticated, especially if you bring in locale-aware processing. +1 DocBook stylesheets use this approach as well: https://github.com/docbook/xslt20-stylesheets/blob/b86ba54981e39649623d5b87a2b208e6aa404907/xslt/base/common/dbfunctions.xsl See group-index() and group-label() functions -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@xxxxxxxx http://xmlguru.cz ------------------------------------------------------------------ Professional XML and Web consulting and training services DocBook/DITA customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Grouping by letters but k, Christophe Marchand | Thread | |
Re: [xsl] Grouping by letters but k, Christophe Marchand | Date | |
Month |