You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/10/02 16:14:52 UTC
[DAISY] Created: Basic usage
A new document has been created.
http://cocoon.zones.apache.org/daisy/documentation/1222.html
Document ID: 1222
Branch: main
Language: default
Name: Basic usage
Document Type: Cocoon Document
Created: 10/2/06 2:14:41 PM
Creator (owner): Philippe Laplanche
State: draft
Parts
=====
Content
-------
Mime type: text/xml
Size: 849 bytes
Content:
<html>
<body>
<h1>Basic usage</h1>
<ol>
<li>First declare the serializer you need.</li>
</ol>
<p>In the sitemap <map:serializers> section, add this :</p>
<ul>
<li>for pdf generation :</li>
</ul>
<pre><map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf"
logger="sitemap.serializer.fo2pdf"></pre>
<ul>
<li>for pcl generation :</li>
</ul>
<pre><map:serializer name="fo2pcl" src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf"
logger="sitemap.serializer.fo2pcl"></pre>
<ul>
<li>for ps generation :</li>
</ul>
<pre><map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf"
logger="sitemap.serializer.fo2ps"></pre>
</body>
</html>
Collections
===========
The document belongs to the following collections: cdocs-fop