[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [saxon] Batching into files using streaming

Subject: Re: [saxon] Batching into files using streaming
From: "Mailing Lists Mail daktapaal@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Sep 2016 01:11:13 -0000
 Re: [saxon] Batching into files using streaming
Yea . That will work but i wont get the other parts of the input tree ....
with this code that you are proposing , i will only get the colleges
batches. I want college batches embedded between the other elements in the
tree..

On Sep 16, 2016 7:05 PM, "Michael Kay" <mike@xxxxxxxxxxxx> wrote:

> 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
>
>
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> saxon-help@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/saxon-help

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.