W3C home > Mailing lists > Public > public-xformsusers@w3.org > April 2018

Re: sort function

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 11 Apr 2018 11:01:01 -0700
Message-ID: <CAAc0PEVC5vgxu22gebChwBkaLdgLSYJsXQbCw3W-nN=ApaDfWw@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
Yes, and I checked a little more:

1. There is `saxon:sort()`:


The problem with that is that it was designed pre-XPath 3.0 and anonymous
functions, and that means it uses some Saxon-specific constructs.

2. We have our own variation with `xxf:sort()`, which takes a sort


3. And we also have `exf:sort()`, which takes a sort expression as a string:


4. XPath 3.1 now has its own `sort()`:


But the full function requires anonymous functions, and that is not
available in XPath 2.


On Wed, Apr 11, 2018 at 6:40 AM, Steven Pemberton <steven.pemberton@cwi.nl>

> There was mention today about adding a sort function to the XForms
> function set.
> Ereik, could you please provide details of the function you use?
> Thanks.
> Steven
Received on Wednesday, 11 April 2018 18:01:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:49 UTC