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

Re: Grouping by letters but keep symbols together

Subject: Re: 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
Re:  Grouping by letters but keep symbols together
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

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.