RE: Question about pxp:zip

Hi Erik,



Well.. there should be p:add-xml-base (
http://www.w3.org/TR/xproc/#c.add-xml-base), but not sure that will work in
this case. Not even sure how well the Calabash implementation conforms to
the exproc specs for the zip step..



Kind regards,

Geert



*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 in
http://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 14:42:17 UTC