fn:current-merge-group

Returns the contents of the current group of items being processed by xsl:merge-action.

current-merge-group() ➔ item()*

There are no arguments

Result

item()*

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XSLT 3.0 Specification

Notes on the Saxon implementation

The current-merge-group() function is introduced in Saxon 9.6, reflecting changes in the XSLT 3.0 specification. It replaces current-group(), which was overloaded to handle merging in earlier versions. Saxon 9.6, however, does not implement the latest version of the W3C spec for this function. Instead of returning a map, it returns a sequence containing all the items from the current group, regardless which merge source they came from.

See also:

fn:current-merge-key()