A document has been updated:
http://cocoon.zones.apache.org/daisy/legacydocs/581.html
Document ID: 581
Branch: main
Language: default
Name: Understanding Apache Cocoon (unchanged)
Document Type: Document (unchanged)
Updated on: 10/4/05 12:33:04 PM
Updated by: Helma van der Linden
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 17444 bytes (previous version: 17425 bytes)
Content diff:
(3 equal lines skipped)
<h1>Overview</h1>
<p>This document is intended for both Users and Developers and presents an
--- overall picture of @[EMAIL PROTECTED]</p>
+++ overall picture of Apache Cocoon.</p>
<ul>
<li><a href="#pre-requisites"> Prerequisites </a></li>
(2 equal lines skipped)
<li><a href="#basic-mechanisms"> Basic Mechanisms. </a></li>
<li><a href="#c2-architecture"> Architecture. </a></li>
<li><a href="#c2-abstractions"> Abstraction. </a></li>
--- <li><a href="#cocoon-configuration"> @Name@ Configuration. </a></li>
--- <li><a href="#work-area"> @Name@ Work Area. </a></li>
+++ <li><a href="#cocoon-configuration">Apache Cocoon Configuration. </a></li>
+++ <li><a href="#work-area">Apache Cocoon Work Area. </a></li>
<li><a href="#use-with-tomcat"> Use with Tomcat </a></li>
</ul>
(141 equal lines skipped)
<tt><xsp:logic></tt> and an <tt><xsp:expr></tt> element.</li>
</ul>
--- <pre>
--- <?xml version="1.0" encoding="ISO-8859-1"?>
+++ <pre><?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page language="java" xmlns:xsp="http://apache.org/xsp">
(16 equal lines skipped)
<h2>XSP Processing (Code Generation)</h2>
--- <pre>
--- package org.apache.cocoon.www.docs.samples.xsp;
+++ <pre>package org.apache.cocoon.www.docs.samples.xsp;
import java.io.File;
// A bunch of other imports
(54 equal lines skipped)
<h2>Sitemap</h2>
--- <pre>
--- <?xml version="1.0"?>
+++ <pre><?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
(55 equal lines skipped)
<p>Sitemap entries for different types of matchers</p>
--- <pre>
--- <map:matchers default="wildcard">
+++ <pre><map:matchers default="wildcard">
<map:matcher name="wildcard"
factory="org.apache.cocoon.matching.WildcardURIMatcher"/>
<map:matcher name="regexp"
factory="org.apache.cocoon.matching.RegexpURIMatcher"/>
</map:matchers>
</pre>
<p>Pipeline entries in sitemap file</p>
--- <pre>
--- <map:match pattern="jsp/*">
+++ <pre><map:match pattern="jsp/*">
<map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/>
...
</map:match>
(23 equal lines skipped)
<p>Sitemap entries for different types of generators</p>
--- <pre>
--- <map:generators default="file">
+++ <pre><map:generators default="file">
<map:generator name="file"
src="org.apache.cocoon.generation.FileGenerator"
label="content"/>
(11 equal lines skipped)
<p>A sample generator entries in a pipeline</p>
--- <pre>
--- <map:match pattern="hello.html">
+++ <pre><map:match pattern="hello.html">
<map:generate src="docs/samples/hello-page.xml"/>
<map:transform src="stylesheets/page/simple-page2html.xsl"/>
<map:serialize type="html"/>
(29 equal lines skipped)
<p>Sitemap entries for different types of transformers</p>
--- <pre>
--- <map:transformers default="xslt">
+++ <pre><map:transformers default="xslt">
<map:transformer name="xslt"
src="org.apache.cocoon.transformation.TraxTransformer">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
(6 equal lines skipped)
<p>A sample transformer entry in a pipeline</p>
--- <pre>
--- <map:match pattern="hello.html">
+++ <pre><map:match pattern="hello.html">
<map:generate src="docs/samples/hello-page.xml"/>
<map:transform src="stylesheets/page/simple-page2html.xsl"/>
<map:serialize type="html"/>
(19 equal lines skipped)
<p>Sitemap entries for different types of serializers</p>
--- <pre>
--- <map:serializers default="html">
+++ <pre><map:serializers default="html">
<map:serializer name="xml"
mime-type="text/xml"
src="org.apache.cocoon.serialization.XMLSerializer"/>
(12 equal lines skipped)
<p>A sample serializer entry in a pipeline</p>
--- <pre>
--- <map:match pattern="hello.html">
+++ <pre> <map:match pattern="hello.html">
<map:generate src="docs/samples/hello-page.xml"/>
<map:transform src="stylesheets/page/simple-page2html.xsl"/>
<map:serialize type="html"/>
(39 equal lines skipped)
<p>Log.xsl structure</p>
--- <pre>
--- <xsl:stylesheet version="1.0"
+++ <pre><xsl:stylesheet version="1.0"
xmlns:xsp="http://apache.org/xsp"
xmlns:log="http://apache.org/xsp/log"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
(16 equal lines skipped)
<p>A sample use</p>
--- <pre>
--- <xsp:page language="java"
+++ <pre><xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:log="http://apache.org/xsp/log">
(4 equal lines skipped)
</xsp:page>
</pre>
--- <h1 id="cocoon-configuration">@Name@ Configuration.</h1>
+++ <h1 id="cocoon-configuration">Apache Cocoon Configuration.</h1>
<p>Cocoon is highly configurable. Main configuration files, assuming Cocoon
deployment as a servlet in a servlet container, are (directory locations
assume
(13 equal lines skipped)
default one, you need to modify this file.</li>
</ul>
--- <h1 id="work-area">@Name@ Work Area</h1>
+++ <h1 id="work-area">Apache Cocoon Work Area</h1>
<p>Cocoon produces execution log entries for debugging/auditing.</p>
(21 equal lines skipped)
<p>Download Cocoon sources from Apache CVS. [Command assume UNIX Bourne
shell]
</p>
--- <pre>
--- export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
+++ <pre>export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic
cvs login
Password: anoncvs
cvs checkout cocoon-2.1
(15 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes