RE: [xsl] Splitting file into N-sized chunks

Subject: RE: [xsl] Splitting file into N-sized chunks
From: "Chris Cosentino (ccosenti)" <ccosenti@xxxxxxxxx>
Date: Tue, 4 Aug 2009 16:37:39 -0400
Xalan uses <xsl:redirect-write ... >

XSLT 2.0 uses <xsl:result-document ... >

But Marynas, you may have an easier time just using something like PHP
to chunk it out into 300k-sized file.


> -----Original Message-----
> From: Michael Ludwig [mailto:milu71@xxxxxx]
> Sent: Tuesday, August 04, 2009 4:09 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Splitting file into N-sized chunks
>
> Martynas Jusevicius schrieb am 04.08.2009 um 21:58:52 (+0200):
>
> > how do I split an XHTML file into chunks of some specific size (say
> > 300 KB) using XSLT?
>
> You determine the boundaries, set up matching criteria, and then use
> one of <exsl:result-document> (1.0 + EXSLT), <xsl:document> (2.0), or
> <xalan:write> (Xalan). All documented online on the sites for Xalan,
> EXSLT, and XSLT 2.0.
>
> Michael Ludwig

Current Thread