|{{Func|map:contains|$inpu input as map(*), $key as xs:anyAtomicType|xs:boolean}}
|-
| '''Summary'''
| Returns true if the ''map'' supplied as {{Code|$inpuinput}} contains an entry with a key equal to the supplied value of {{Code|$key}}; otherwise it returns false. No error is raised if the map contains keys that are not comparable with the supplied {{Code|$key}}.
If the supplied key is {{Code|xs:untypedAtomic}}, it is converted to {{Code|xs:string}}. If the supplied key is the {{Code|xs:float}} or {{Code|xs:double}} value {{Code|NaN}}, the function returns false.
|-
|-
| '''Summary'''
| Creates a new ''map'' containing a single entry. The key of the entry in the new map is {{Code|$key}}, and its associated value is {{Code|$value}}. If the supplied key is {{Code|xs:untypedAtomic}}, it is converted to {{Code|xs:string}}. If the supplied key is the {{Code|xs:float}} or {{Code|xs:double}} value {{Code|NaN}}, the supplied {{Code|$inpuinput}} is returned unchanged.
The function {{Code|map:entry}} is intended primarily for use in conjunction with the function <code>[[#map:new|map:new]]</code>. For example, a map containing seven entries may be constructed like this:
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:get|$inpu input as map(*), $key as xs:anyAtomicType|item()*}}
|-
| '''Summary'''
|Returns the value associated with a supplied key in a given map. This function attempts to find an entry within the ''map'' supplied as {{Code|$inpuinput}} that has a key equal to the supplied value of {{Code|$key}}. If there is such an entry, it returns the associated value; otherwise it returns an empty sequence. No error is raised if the map contains keys that are not comparable with the supplied {{Code|$key}}. If the supplied key is {{Code|xs:untypedAtomic}}, it is converted to {{Code|xs:string}}. If the supplied key is the {{Code|xs:float}} or {{Code|xs:double}} value {{Code|NaN}}, the function returns an empty sequence.
A return value of {{Code|()}} from {{Code|map:get}} could indicate that the key is present in the map with an associated value of {{Code|()}}, or it could indicate that the key is not present in the map. The two cases can be distinguished by calling {{Code|map:contains}}.
Invoking the ''map'' as a function item has the same effect as calling {{Code|get}}: that is, when {{Code|$inpuinput}} is a map, the expression {{Code|$inpuinput($K)}} is equivalent to {{Code|get($inpuinput, $K)}}. Similarly, the expression {{Code|get(get(get($inpuinput, 'employee'), 'name'), 'first')}} can be written as {{Code|$inpuinput('employee')('name')('first')}}.
|-
| '''Examples'''
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:keys|$inpu input as map(*)|xs:anyAtomicType*}}
|-
| '''Summary'''
|Returns a sequence containing all the key values present in a map. The function takes any ''map'' as its {{Code|$inpuinput}} argument and returns the keys that are present in the map as a sequence of atomic values, in implementation-dependent order.
|-
| '''Examples'''
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:new||map(*)}}<br/>{{Func|map:new|$inpus inputs as map(*)*|map(*)}}
|-
| '''Summary'''
| Constructs and returns a new map. The zero-argument form of the function returns an empty ''map''. It is equivalent to calling the one-argument form of the function with an empty sequence as the value of the first argument.
The one-argument form of the function returns a ''map'' that is formed by combining the contents of the maps supplied in the {{Code|$inpusinputs}} argument. The supplied maps are combined as follows:
# There is one entry in the new map for each distinct key value present in the union of the input maps, where keys are considered distinct according to the rules of the {{Code|distinct-values}} function.
# The associated value for each such key is taken from the last map in the input sequence {{Code|$inpusinputs}} that contains an entry with this key.
There is no requirement that the supplied input maps should have the same or compatible types. The type of a map (for example {{Code|map(xs:integer, xs:string)}}) is descriptive of the entries it currently contains, but is not a constraint on how the map may be combined with other maps.
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:remove|$inpu input as map(*), $key as xs:anyAtomicType|map(*)}}<br/>
|-
| '''Summary'''
| Constructs a new map by removing an entry from an existing map. The entries in the new map correspond to the entries of {{Code|$inpuinput}}, excluding any entry whose key is equal to {{Code|$key}}.
No failure occurs if the input map contains no entry with the supplied key; the input map is returned unchanged
|-
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:size|$inpu input as map(*)|xs:integer}}<br/>
|-
| '''Summary'''
| Returns a the number of entries in the supplied map. The function takes any ''map'' as its {{Code|$inpuinput}} argument and returns the number of entries that are present in the map.
|-
| '''Examples'''
{| width='100%'
| width='120' | '''Signatures'''
|{{Func|map:serialize|$inpu input as map(*)|xs:string}}<br/>