xsl:on-completion

Occurs within xsl:iterate to define processing to be carried out when the input sequence is exhausted.

Content: sequence-constructor
Permitted parent elements: xsl:iterate

Attributes

select?

expression

The effect of the instruction may be defined either by an expression within the optional select attribute, or by the enclosed sequence constructor.

Details

During execution of xsl:on-completion there is no context item, position or size; the instruction has access to the iteration parameters with the values given on the last iteration (or the initial values of the xsl:param elements if the input sequence was empty). For further details see xsl:iterate.

Links to W3C specifications

XSLT 3.0 Specification

See also

xsl:iterate