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.
Available in XSLT 3.0. From Saxon 9.8, available in all editions. Implemented in Saxon-PE and Saxon-EE since Saxon 9.6.
- Content: sequence-constructor
- Permitted parent elements:
- Element has no attributes
Notes on the Saxon implementation¶
In Saxon 9.6 the implementation of the
current-merge-group() function did not match the latest W3C specification. Instead of returning a map, it returned 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