index-of(("a", "á", "à"), "a", "?lang=it-IT;strength=primary")
</nowiki></syntaxhighlight>
If the [http://site.icu-project.org/download ICU Library] is added to the classpath, the full [http://www.w3.org/TR/xpath-functions-31/#uca-collations Unicode Collation Algorithm] features become available:
<syntaxhighlight lang="xquery">
(: returns 0 (both strings are compared as equal) :)
compare('a-b', 'ab', 'http://www.w3.org/2013/collation/UCA?alternate=shifted')
</syntaxhighlight>
=Changelog=