map:new

Creates a map

new() ➔ map(*)

There are no arguments

Result

map(*)

new($maps as map(*)*) ➔ map(*)

Arguments

 

$maps

map(*)*

The input maps to be combined

Result

map(*)

Details

Namespace: http://www.w3.org/2005/xpath-functions/map

Applies to: XSLT 3.0 only (if enabled in Saxon: requires Saxon-PE or Saxon-EE)

The zero-argument form creates an empty map.

The single-argument form creates a map by combining the supplied maps. These will often be constructed using the map:entry function.

Notes on the Saxon implementation

Available since Saxon 9.4. Currently in namespace http://www.w3.org/2005/xpath-functions/map. Available in XSLT, XPath, and XQuery, whether or not 3.0 is available. Requires Saxon-PE or Saxon-EE.