The current grouping key
The fn:current-grouping-key function returns the current grouping key when evaluating an xsl:for-each-group. Note: this is an XSLT-only function; it is not available in XQuery or XPath.
current-group.