- From: David Birnbaum <djbpitt@gmail.com>
- Date: Thu, 21 Nov 2024 11:09:51 -0500
- To: denis.maier@unibe.ch
- Cc: martin.honnen@gmx.de, xproc-dev@w3.org
Received on Thursday, 21 November 2024 16:10:07 UTC
Dear All, > The XPath 3.1 sort() function has a @key attribute where you can create > your own function as a sort key. I haven't tried it, but if I've understood > the spec correctly, you can write a function that sorts by just the numeric > portion of the filename. > Oops! Functions don't take attributes, of course. What I meant is that sort() takes an optional third argument in which you can specify a function that constructs a sort key. Apologies for the carelessness.
Received on Thursday, 21 November 2024 16:10:07 UTC