[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: Stefan Krause <stf@xxxxxxxx>
Date: Mon, 10 Aug 2009 02:07:17 +0200
Re:  Splitting file into N-sized chunks
Michael Kay schrieb:
> I suspect that level of accuracy isn't needed. A heuristic that says 500Kb
> of serialized XHTML = 250K characters in text nodes is probably quite
> adequate for the purpose.

Indeed, I've produced .epubs with thousends of chunks of minimal size
(less than 5 kBytes), and they do well. (Smaller chunks speed up the
page turning, and the end of an chunk forces a page break.)

A real challenge was to synchronize these chunks with epubs .opf and
.ncx files, where the chunks must be registered, and to handle internal
links (consider <a href="#something">...</a>) and other references like
footnotes. I'm afraid there is no simple answer how to split a file for
epub, because it depends in some way from the input and affects some
other parts of the workflow.

Stefan

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.