Inanda,
We use either saxon:sort(), documented here:
http://www.saxonica.com/documentation9.1/extensions/functions/sort.htmlor our own xxforms:sort(), implemented here:
https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/xforms/function/xxforms/XXFormsSort.javaNeither currently supports a collation. saxon:sort() says its using
"codepoint collation".
And a collation is just what you need to sort things properly… So I am
not sure if it's possible to work around this, besides fixing the
functions themselves.
-Erik
On Mon, Jun 4, 2012 at 12:44 AM, inanda.menezes <
[hidden email]> wrote:
> It seems that there isn't a way to define language in this xxforms:sort xpath
> function. So, it sorts the Finnish language in a wrong way because of the
> characters (ä and ö).
>
> I have been looking about it and the way to solve it would be to use
> exf:sort Element, because then I could use the lang attribute to define the
> language. But the problem is that it seems that orbeon does not support this
> element. I get the following error if I try to use it:
> "Invalid eXForms element in XForms document: exforms:sort"
>
> Is there a way supported by orbeon to sort a nodeset based on language?
>
> --
> View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/xxforms-sort-function-based-on-language-tp4655185.html> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws