xsl-list
[Top] [All Lists]

[xsl] Re: [saxon] Batching into files using streaming

2016-09-16 18:02:48
I would expect to see something like:

<xsl:stream href="{$fileHref}">

     <xsl:for-each-group select="/Country/University/Colleges/College" 
group-adjacent="(position() -1) idiv $BatchSize">
        <xsl:result-document 
href="file:///E:/stylesheets/TestBed/Result/CollegeBatch{position()}.xml">

            <batch>
                    <xsl:copy-of select="current-group()"/>

               </batch>
          </xsl:result-document>
     </xsl:for-each-group>
  </xsl:stream>


Michael Kay
Saxonica
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>