xsl-list
[Top] [All Lists]

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

2009-08-04 16:16:01
Ok, but how exactly do you determine the size criteria?

On Tue, Aug 4, 2009 at 10:09 PM, Michael Ludwig<milu71(_at_)gmx(_dot_)de> wrote:
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--