xsl:array-member

Experimental: proposed new instruction for XSLT 4.0. It constructs a parcel, typically for use as a member of an array being constructed using <xsl:array composite="yes">.

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. This sequence is wrapped into a parcel, which is an item of type record(value): that is, a map with a single entry, whose key is the string "value", and whose corresponding value is the wrapped sequence.

Notes on the Saxon implementation

saxon:array-member

Details

The intended usage is to deliver a single member of an array being constructed using <xsl:array composite="yes">. 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-member