fn:element-to-map-plan

Analyzes sample data to generate a conversion plan suitable for use by the element-to-map() function.

element-to-map-plan($input as (document-node() | element())*) ➔ map(xs:string, (fn:element-conversion-plan-record|fn:attribute-conversion-plan-record))

Arguments

 

$input

(document-node() | element())*

An input sequence of element and document nodes

Result

map(xs:string, (fn:element-conversion-plan-record|fn:attribute-conversion-plan-record))

Namespace

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

Links to W3C specifications

XPath 4.0 Functions and Operators

Saxon availability

Available in XPath 4.0, XSLT 4.0, and XQuery 4.0. Requires Saxon-PE or Saxon-EE. Implemented since Saxon 13. Available for all platforms.