xsl:record
New in XSLT 4.0. Used to construct a record map.
Category: instruction
Content: sequence-constructor
Permitted parent elements:
any XSLT element whose content model is
sequence-constructor; any literal result element
Attributes
|
| Defines the required type of the record map. |
|
| An expression which must
evaluate to either one of the strings |
|
| The instruction may have any number of attributes in no namespace. Map entries for the record map can be declared using attributes - the attribute name is used as the map key, and the associated map value is the result of evaluating the XPath expression in the attribute value. |
Saxon availability
Available in XSLT 4.0. Requires Saxon-PE or Saxon-EE. Implemented since Saxon 13. Available for all platforms.
Notes on the Saxon implementation
New in XSLT 4.0, and implemented since Saxon 13.0.
Details
The xsl:record instruction constructs a new map. Entries for the map
can be declared using attributes on the instruction, as well as using the
contained sequence constructor.