xsl:merge-key

Used to define the merge keys on which the input sequences of a merging operation are sorted.

Content: sequence-constructor
Permitted parent elements: xsl:merge-source

Attributes

select?

expression

lang?

{ language }

order?

{ "ascending" | "descending" }

collation?

{ uri }

case-order?

{ "upper-first" | "lower-first" }

data-type?

{ "text" | "number" | eqname }

Details

The syntax and semantics of an xsl:merge-key element are closely based on the rules for the xsl:sort element (the only exception being the absence of the stable attribute); the difference is that xsl:merge-key elements do not cause a sort to take place, they merely declare the existing sort order of the input sequence.

For details and examples, see xsl:merge.

Links to W3C specifications

XSLT 3.0 Specification

See also

xsl:merge

xsl:merge-source