map:keys
Returns the set of keys found in a map.
keys($map as map(*)) ➔ xs:anyAtomicType*
Arguments | |||
| $map | map(*) | The map whose keys are required |
Result | xs:anyAtomicType* |
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 function takes a map as input and returns the keys found in the map, in arbitrary order.
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.