[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Splitting file into N-sized chunks

Subject: RE: Splitting file into N-sized chunks
From: "Chris Cosentino (ccosenti)" <ccosenti@xxxxxxxxx>
Date: Tue, 4 Aug 2009 16:37:39 -0400
RE:  Splitting file into N-sized chunks
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:  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.