saxon:array-member

The saxon:array-member instruction is used to create a single member for an array from a sequence of items.

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 contents of the array may be given either by an expression in the select attribute, or by expanding the sequence constructor contained in the saxon:array-member element

Details

The content model is the same as xsl:sequence: either a select attribute, or a contained sequence constructor, but not both. The effect is the same as evaluating the equivalent xsl:sequence instruction and then passing the result into a square array constructor.

The saxon:array-member instruction can be exported to a SEF file; the resulting SEF file can be used by Saxon/J but not by Saxon-JS.

See also

saxon:array

saxon:array-member()