Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Map Module
(edit)
Revision as of 13:07, 9 March 2023
94 bytes added
,
13:07, 9 March 2023
no edit summary
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:contains
|
(
$map
as map(*)
,
$key
as xs:anyAtomicType
|
) as
xs:boolean
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:entry
|
(
$key
as xs:anyAtomicType
,
$value
as item()*
|
) as
map(*)
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:find
|
(
$input
as item()*
,
$key
as xs:anyAtomicType
|
) as
array(*)
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:for-each
|
(
$map
as map(*)
,
$function
as function(xs:anyAtomicType
,
item()*)
as item()*
|
) as
item()*
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:get
|
(
$map
as map(*)
,
$key
as xs:anyAtomicType
|
) as
item()*
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:keys
|
(
$map
as map(*)
|
) as
xs:anyAtomicType*
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|map:merge|$maps as map(*)*|map(*)}}
<
br/
pre
>
{{Func|
map:merge
|
(
$maps
as map(*)*
,
$options
as map(*)
|
:= ()
) as
map(*)
}}
<
br
/
pre
>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:put
|
(
$map
as map(*)
,
$key
as xs:anyAtomicType
,
$value
as item()*
|
) as
map(*)
}}
</pre>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:remove
|
(
$map
as map(*)
,
$keys
as xs:anyAtomicType*
|
) as
map(*)
}}
<
br
/
pre
>
|- valign="top"
| '''Summary'''
{| width='100%'
| width='120' | '''Signatures'''
|
{{Func|
<pre>
map:size
|
(
$map
as map(*)
|
) as
xs:integer
}}
<
br
/
pre
>
|- valign="top"
| '''Summary'''
CG
Bureaucrats
, editor, reviewer,
Administrators
13,550
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main Page
Table of Contents
Recent Changes
Random Page
PDF Version
Tools
Special pages
Printable version