[xsl] Zipping xsl:result-documents into ePub

Subject: [xsl] Zipping xsl:result-documents into ePub
From: Martynas Jusevicius <martynas.jusevicius@xxxxxxxxx>
Date: Mon, 24 Aug 2009 23:01:30 +0200
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.


Current Thread