XPath 3.1 introduces and . Orbeon Forms does not support XPath 3.1 yet, however it implements a subset of operations on maps and arrays.
Availability
[SINCE Orbeon Forms 2017.2]
Maps
Introduction
Orbeon Forms does not support the native XPath 3.1 syntax to create maps. But you can create a new map as follows using the map:merge() and map:entry() functions:
map:entry(
$key as xs:anyAtomicType,
$value as item()*
) as map(*)
map:merge()
map:merge($maps as map(*)*) as map(*)
map:get()
map:get(
$map as map(*),
$key as xs:anyAtomicType
) as item()*
Arrays
Introduction
Orbeon Forms does not support the native XPath 3.1 syntax to create arrays. But you can create a new array as follows using the array:join() and array:append() functions: