W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2014

[Bug 24317] [xslt 3.0] Parallel splitting: the dynamic multi-coloured widgets problem

From: <bugzilla@jessica.w3.org>
Date: Wed, 04 Jun 2014 11:08:31 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24317-523-aQLAf32ZR7@http.www.w3.org/Bugs/Public/>

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |ASSIGNED

--- Comment #6 from Michael Kay <mike@saxonica.com> ---
The WG asked me to make a concrete proposal to meet this requirement.

I propose to use the construct:

  <xsl:for-each-group select="/*/widget" group-by="colour">
    <xsl:result-document href="{current-grouping-key()}.xml">
      <widgets colour="{current-grouping-key()}">
        <xsl:sequence select="current-group()"/>

for this use case. The content model of xsl:fork is changed to allow either its
current content (xsl:sequence+), or a single xsl:for-each-group element;
wrapping xsl:for-each-group inside xsl:fork acts as a signal that the user
recognizes that buffering of output will be needed and accepts the

The rules for streamability of xsl:for-each-group ( rules 2 and 3

2. If there is a group-by attribute and the xsl:for-each-group instruction is
not a child of xsl:fork, then roaming and free-ranging.
3. If there is a group-adjacent or group-by attribute that is not motionless,
then roaming and free-ranging.

The rules for streamability of xsl:fork ( change to add a rule 0:

0. If the content of the xsl:fork instruction comprises a single
xsl:for-each-group instruction, then the posture and sweep of that instruction.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 4 June 2014 11:08:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC