cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stoeckel, Matthias" <>
Subject AW: Zip archive Serializer question
Date Tue, 06 May 2003 09:42:54 GMT
Hi Jonny,

> Wher do I use this part in a pipeline????
> <zip:archive xmlns:zip="">
>   <zip:entry name="foo.html" src="cocoon://dynFoo.html"/>
>   <zip:entry name="images/bar.jpeg" src="bar.jpeg"/>
> </zip:archive:zip>

The XML above is part of the XML stream which is needed for the serializer.
You can for exmaple put this into a static file or create this through any
other generator.
This is an example pipeline:

    <map:generate type="file" src="zip.xml"/>
    <map:serialize type="zip"/>


The serializer takes all zip:entry tags and puts them into a zip archive
which will be sent back to the browser.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message