Re: [xsl] Zipping xsl:result-documents into ePub

Subject: Re: [xsl] Zipping xsl:result-documents into ePub
From: "Stuart A. Yeates" <syeates@xxxxxxxxx>
Date: Tue, 25 Aug 2009 09:40:56 +1200
On Tue, Aug 25, 2009 at 9:01 AM, Martynas
Jusevicius<martynas.jusevicius@xxxxxxxxx> wrote:
> Hey list,
>
> I was asking previously how to split a big XHTML file into several
> smaller ones for user in ePub, and I managed to resolve that.
>
> However, so far I'm writing the result documents to a folder in the
> filesystem. As I'm planing to package them into ePub file using
> java.util.zip, this is probably not very smart. Is there a way to
> avoid serializing to files and pass the result documents directly to
> java.util.zip, probably as streams? I saw OutputURIResolver mentioned,
> but couldn't find a decent example.

I recently posted the way we do epub generation to the TEI wiki. This
uses the cocoon ZIP serialiser:

http://wiki.tei-c.org/index.php/Cocoon_epub_Compiler

cheers
stuart

Current Thread