[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Splitting file into N-sized chunks
From: Michael Ludwig <milu71@xxxxxx>
Date: Tue, 4 Aug 2009 22:09:23 +0200

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
Keywords