Re: [xsl] XSLT3 - Streaming + Recursive File Output

Subject: Re: [xsl] XSLT3 - Streaming + Recursive File Output
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 12 Aug 2016 10:57:05 -0000
On 12.08.2016 00:07, Mailing Lists Mail daktapaal@xxxxxxxxx wrote:

1. Remove a set of nodes(Species) from the source
tree(UniverseKingdom.xml), which can be  around 1000,000
2. Create a File called UniverseKingdom-without-species.xml which has
every element in UniverseKingdom, except the Species nodes

I would start with doing 1 and 2 in one stylesheet which can then be as simple as


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="3.0">

<xsl:mode streamable="yes" on-no-match="shallow-copy"/>

<xsl:template match="*:species"/>

</xsl:stylesheet>


3. Create batches of 1000 species and throw them out into
AnimalKingdomSpeciesBatch1.xml and so on and so forth till all the
Species are covered.

and then trying to do 3 in a separate stylesheet using the approach outlined by Michael with the positional grouping using for-each-group group-adjacent.


Current Thread