Re: calling for xproc pain points, requested features, etc

On 1/5/2012 9:46 PM, Imsieke, Gerrit, le-tex wrote:
>
> Consider the case of an EPUB that contains XHTML files that link to 
> CSS stylesheets. We have implemented a CSS parser in XSLT2. In order 
> to make it work without too many annoying workarounds, we have to 
> unpack the zip file first.
We found it convenient to write a URIResolver that pulls content out of 
zip files; that way we can process all the epub pieces in place without 
the need for temporary files.  It didn't present great difficulties, 
although I may be missing something - we handled the spine and the rest, 
but don't have a CSS parser - that sounds neat! But some ability to 
enumerate the contents of the zip, (or to pull out the contents of a 
"folder" from the zip - a kind of artificial construct) is a big help.

-Mike

Received on Friday, 6 January 2012 04:18:10 UTC