W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2013

Re: Question about pxp:zip

From: Romain Deltour <rdeltour@gmail.com>
Date: Tue, 8 Oct 2013 21:41:00 +0200
Cc: <xproc-dev@w3.org>
Message-Id: <F17A6EF8-077B-42F0-98F3-0FA23F75F4D2@gmail.com>
To: "Erik Siegel" <mailing@xatapult.nl>
To be fair, it is usable with v1 and Calabash's XProc extension. For example we use it to create zipped EPUBs with no issue whatsoever.

It's true that XProc V2 will improve and clarify some aspects, but you certainly don't have to wait for it ;)

Romain.


On 8 oct. 2013, at 21:18, "Erik Siegel" <mailing@xatapult.nl> wrote:

> Thanks everyone that answered this question. So for a decent solution, we'll have to wait for a XPROC 2 implementation... Ok!
>  
> Erik
>  
> Van: Erik Siegel [mailto:mailing@xatapult.nl] 
> Verzonden: dinsdag 8 oktober 2013 15:14
> Aan: xproc-dev@w3.org
> Onderwerp: Question about pxp:zip
>  
> Hi,
>  
> I'm lost on how to use Calabash pxp:zip... can't figure out how to do this... I hope anybody can help me
>  
> I need to store several pieces of XML produced by (sub)pipelines. So according to the documentation inhttp://exproc.org/proposed/steps/other.html#zip I need to supply these as a sequence on the source port of the pxp:zip step and use a zip-manifest that refers to the base-uri's of these documents and tells pxp:zip where to put them in the zip file.
>  
> But.. all my documents are produced by my XProc script and (as far as I can see) all have the same base-uri. How can I ever distinguish between them?
>  
> The only solution I can think of is storing them first to disk and then read them back in. Which does not sound like good solution to me.
>  
> Hope anybody can help,
> Regards,
> Erik Siegel
>  
>  
>  
Received on Tuesday, 8 October 2013 19:41:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC