fn:current-group

Returns the contents of the current group selected by xsl:for-each-group.

current-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

Saxon 9.3 and earlier releases implement the XSLT 2.0 definition of this function. The additional behaviour associated with the xsl:merge instruction was implemented in Saxon 9.4 and 9.5, but is dropped in 9.6, because the W3C XSLT 3.0 specification was changed; this use of current-group() was replaced by current-merge-group().