|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![Re: [saxon] Batching into files using streaming](/images/get_stylus.gif)





