Returns the set of keys found in an input map, in arbitrary order.
keys($map as map(*)) ➔ xs:anyAtomicType*
The map whose keys are required
Links to W3C specifications
Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. From Saxon 9.7, available in all editions.
Notes on the Saxon implementation
Available as defined in XSLT 3.0 since Saxon 9.4; in XSLT, XPath, and XQuery, whether or not 3.0 is available.
XPath 3.1 version implemented since Saxon 9.7.