current-grouping-key

Returns the value that is the grouping key of the current group selected by xsl:for-each-group

current-grouping-key() ➔ xs:anyAtomicType

There are no arguments

Result

xs:anyAtomicType

Links to W3C specifications

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

Applies to: XSLT 2.0 and later versions

XSLT 2.0 Specification

XSLT 2.1 Specification

Notes on the Saxon implementation

The function is fully implemented according to the W3C specifications.