[Home] [By Thread] [By Date] [Recent Entries]
Am 30.05.2019 um 23:46 schrieb Costello, Roger L. costello@xxxxxxxxx:
the groups in an XSLT variable:
B B B B B B B <xsl:variable name="groups" as="array(element(row))*">
B B B B B B B B B B B <xsl:for-each-group select="$rows" composite="yes"
group-by="ARPT__IDENT, TRM__IDENT">
B B B B B B B B B B B B B B B <xsl:sequence select="array { current-group()
}"/>
B B B B B B B B B B B </xsl:for-each-group>
B B B B B B B </xsl:variable>https://xsltfiddle.liberty-development.net/jyRYYiQ/1 That will probably perform better than the pure XPath expression based grouping (that does nothing more than apply the old XQuery 1.0 "grouping" technique to collect distinct-values first as a means to select items of each group).
|

Cart



