|
Subject: [xsl] 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 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: [saxon] Batching into fil, Michael Kay mike@xxx | Thread | [xsl] match and not match using If, Rahul Singh rahulsin |
| [xsl] Re: [saxon] Batching into fil, Michael Kay mike@xxx | Date | [xsl] match and not match using If, Rahul Singh rahulsin |
| Month |