- From: <bugzilla@jessica.w3.org>
- Date: Wed, 29 Jan 2014 11:24:34 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24317 --- Comment #2 from Michael Kay <mike@saxonica.com> --- I'm a bit inclined to make xsl:for-each-group/@group-by streamable under the same conditions as xsl:for-each-group/@group-adjacent. This would be consistent with our approach to distinct-values(). Otherwise there is no convenient way to do something like <xsl:for-each-group select="*" group-by="colour" bind-group="g" bind-grouping-key="k"> <a colour="{$k}" count="{count($g)}"/> </xsl:for-each-group> which is streamable for all practical purposes (it needs memory proportional to the number of groups, which in many cases will be constant memory independent of the size of the population). In essence this is the same as xsl:fork, except the number of "prongs" in the fork is not fixed statically by the stylesheet author, but instead is one-per-group based on the number of distinct grouping key values found in the data. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 29 January 2014 11:24:36 UTC