xsl:array-member

New in XSLT 4.0. Constructs a parcel, typically for use as a member of an array being constructed using xsl:array.

Category: instruction
Content: sequence-constructor
Permitted parent elements: any XSLT element whose content model is sequence-constructor; any literal result element

Attributes

select?

expression

The select attribute, or the contained sequence constructor if there is no select attribute, may deliver any sequence.

Saxon availability

Available in XSLT 4.0. Requires Saxon-PE or Saxon-EE. Implemented since Saxon 13. Implemented experimentally since Saxon 11. Available for all platforms.

Notes on the Saxon implementation

Available from Saxon 13 in XSLT 4.0; available in Saxon 11 and 12 provided that syntax extensions are enabled. Also available in earlier releases under the synonym saxon:array-member.

Details

The sequence delivered by the select attribute or sequence constructor is encapsulated as a parcel, a zero-arity function item which returns the sequence when called.

The intended usage is to deliver a single member of an array being constructed using xsl:array. However, the result of the instruction is well-defined whether or not it is used in this way.

Links to W3C specifications

XSLT 4.0 Specification

See also

xsl:array