Used within an xsl:merge instruction to define the processing to be carried out on each group of input items sharing a value for the merge key.

Content: sequence-constructor
Permitted parent elements: xsl:merge
Element has no attributes

Notes on the Saxon implementation

In Saxon 9.6 the implementation of the current-merge-group() function does not match the latest W3C specification. Instead of returning a map, it returns a sequence containing all items in the current merge group, regardless which merge source they came from.

Since Saxon 9.7, the implementation conforms with the final Recommendation.


For details and examples, see xsl:merge

Links to W3C specifications

XSLT 3.0 Specification

See also