The idea is to have a pipeline that creates the ZIP file. This would be the one that matches the user's request. In the XML for the ZIP archive serializer you list the files you want to be included in the ZIP file. By using cocoon:/ pseudo protocol this can be another (maybe internal) pipeline. The docu [1] has such an example: foo.html is pulled out of another pipeline.

Joerg

[1] http://cocoon.apache.org/2.1/userdocs/ziparchive-serializer.html

On 12.05.2009 21:02, Saeid Bashir wrote:
I was not able to undrestand the code i want to know how to put xml
in to string and encode it and display the result


On 12.05.2009 14:17, Joerg Heinicke wrote:
In which way not helpful? Is ZIP the wrong compression for you or did you just not get it to work?

Joerg

On 12.05.2009 07:53, saeid itune wrote:
Basically i have xml file which it will be compressed and the result will be displayed to the user in compressed format. i want to get whole xml file as a string and pass it to function which will compress the string and returns
the result as string. the result will be displayed to the user.

ZipArchiveSerializer example was not helpfull for me


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to