cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Created: Basic usage
Date Mon, 02 Oct 2006 15:18:13 GMT
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 &lt;map:serializers&gt; section, add this :</p>

<ul>
<li>for pdf generation :</li>
</ul>

<pre>&lt;map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"

    mime-type="application/pdf" 
    logger="sitemap.serializer.fo2pdf"&gt;</pre>

<ul>
<li>for pcl generation :</li>
</ul>

<pre>&lt;map:serializer name="fo2pcl" src="org.apache.cocoon.serialization.FOPSerializer"

    mime-type="application/pdf" 
    logger="sitemap.serializer.fo2pcl"&gt;</pre>

<ul>
<li>for ps generation :</li>
</ul>

<pre>&lt;map:serializer name="fo2pdf" src="org.apache.cocoon.serialization.FOPSerializer"

    mime-type="application/pdf" 
    logger="sitemap.serializer.fo2ps"&gt;</pre>

</body>
</html>

Collections
===========
The document belongs to the following collections: cdocs-fop

Mime
View raw message