W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2016

[Bug 29482] [xslt30ts] si-group-031

From: <bugzilla@jessica.w3.org>
Date: Sat, 20 Feb 2016 14:47:14 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29482-523-mbQfuontzm@http.www.w3.org/Bugs/Public/>

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
                 CC|                            |abel.braaksma@xs4all.nl

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
I agree. Martin Honnen created a similar bug report against Exselt (we have
different results and consider it streamable, but output is empty for the
copied streamed nodes).

An alternative way of writing this, considering only copies of nodes are
created, is the following, which I believe should be streamable (not pretty,
but works):

<xsl:for-each-group select="product" 
      group-adjacent="(position() - 1) idiv $block-size">
   <xsl:result-document href="product{current-grouping-key()}.xml">
       <xsl:variable name="copy" select="current-group()/copy-of()" />
       <xsl:copy select="$root">
           <xsl:copy-of select="$copy"/>

Note the necessity for adding the copy-of function to the variable @select

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 20 February 2016 14:47:17 UTC

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