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(_at_)saxonica(_dot_)com> 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(_at_)lists(_dot_)sourceforge(_dot_)net
https://lists.sourceforge.net/lists/listinfo/saxon-help
--~----------------------------------------------------------------
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
--~--