Zip archive Serializer
http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Main
User Documentation

Serializers
Overview

Default
HTML Serializer

Core
XML Serializer
Text Serializer
WAP/WML Serializer
SVG Serializer
SVG/XML Serializer
SVG/JPEG Serializer
SVG/PNG Serializer
VRML Serializer
Link Serializer
Zip archive Serializer

Optional
PDF Serializer
PS Serializer
PCL Serializer
HSSF (XLS) Serializer

Zip archive Serializer

The Zip archive serializer generates a zip archive by aggregating several sources.

The input document should describe entries of the archive by means of their name (which can be a path) in the archive and the source of the entry contents. These are Cocoon sources, and as such can use any of the protocols handled by Cocoon, including "cocoon:" to include dynamically generated content in the archive.

Example :

<zip-archive:zip xmlns:zip-archive="http://apache.org/cocoon/zip-archive/1.0">
  <zip-archive:entry name="foo.html" src="cocoon://dynFoo.html"/>
  <zip-archive:entry name="images/bar.jpeg" src="bar.jpeg"/>
</zip-archive:zip>
  • Name: zip
  • Class: org.apache.cocoon.serialization.ZipArchiveSerializer
  • Cacheable: no
Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.