map:find

Searches the supplied input sequence (and any contained maps and arrays) for a map entry with the supplied key, and returns an array containing the corresponding values.

find($input as item()*, $key as xs:anyAtomicType) ➔ array(*)

Arguments

 

$input

item()*

The input sequence

 

$key

xs:anyAtomicType

The key

Result

array(*)

Namespace

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

Links to W3C specifications

XPath 3.1 Functions and Operators

XSLT 3.0 Specification

Saxon availability

Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. Available in all Saxon editions. Implemented since Saxon 9.7.

Notes on the Saxon implementation

Available since Saxon 9.7.0.10.