cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Understanding Apache Cocoon
Date Tue, 04 Oct 2005 12:33:11 GMT
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 @Name@.</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>&lt;xsp:logic&gt;</tt> and an <tt>&lt;xsp:expr&gt;</tt>
element.</li>
    </ul>
    
--- <pre>
--- &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+++ <pre>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
    
    &lt;xsp:page language="java" xmlns:xsp="http://apache.org/xsp"&gt;
    
(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>
--- &lt;?xml version="1.0"?&gt;
+++ <pre>&lt;?xml version="1.0"?&gt;
    &lt;map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"&gt;
    
    &lt;map:components&gt;
(55 equal lines skipped)
    
    <p>Sitemap entries for different types of matchers</p>
    
--- <pre>
--- &lt;map:matchers default="wildcard"&gt;
+++ <pre>&lt;map:matchers default="wildcard"&gt;
     &lt;map:matcher name="wildcard" factory="org.apache.cocoon.matching.WildcardURIMatcher"/&gt;
     &lt;map:matcher name="regexp" factory="org.apache.cocoon.matching.RegexpURIMatcher"/&gt;
    &lt;/map:matchers&gt;
    </pre>
    
    <p>Pipeline entries in sitemap file</p>
    
--- <pre>
--- &lt;map:match pattern="jsp/*"&gt;
+++ <pre>&lt;map:match pattern="jsp/*"&gt;
      &lt;map:generate type="jsp" src="/docs/samples/jsp/{1}.jsp"/&gt;
      ...
      &lt;/map:match&gt;
(23 equal lines skipped)
    
    <p>Sitemap entries for different types of generators</p>
    
--- <pre>
--- &lt;map:generators default="file"&gt;
+++ <pre>&lt;map:generators default="file"&gt;
     &lt;map:generator name="file"
                    src="org.apache.cocoon.generation.FileGenerator"
                    label="content"/&gt;
(11 equal lines skipped)
    
    <p>A sample generator entries in a pipeline</p>
    
--- <pre>
--- &lt;map:match pattern="hello.html"&gt;
+++ <pre>&lt;map:match pattern="hello.html"&gt;
        &lt;map:generate src="docs/samples/hello-page.xml"/&gt;
        &lt;map:transform src="stylesheets/page/simple-page2html.xsl"/&gt;
        &lt;map:serialize type="html"/&gt;
(29 equal lines skipped)
    
    <p>Sitemap entries for different types of transformers</p>
    
--- <pre>
--- &lt;map:transformers default="xslt"&gt;
+++ <pre>&lt;map:transformers default="xslt"&gt;
       &lt;map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"&gt;
        &lt;use-request-parameters&gt;false&lt;/use-request-parameters&gt;
        &lt;use-browser-capabilities-db&gt;false&lt;/use-browser-capabilities-db&gt;
(6 equal lines skipped)
    
    <p>A sample transformer entry in a pipeline</p>
    
--- <pre>
--- &lt;map:match pattern="hello.html"&gt;
+++ <pre>&lt;map:match pattern="hello.html"&gt;
     &lt;map:generate src="docs/samples/hello-page.xml"/&gt;
     &lt;map:transform src="stylesheets/page/simple-page2html.xsl"/&gt;
     &lt;map:serialize type="html"/&gt;
(19 equal lines skipped)
    
    <p>Sitemap entries for different types of serializers</p>
    
--- <pre>
--- &lt;map:serializers default="html"&gt;
+++ <pre>&lt;map:serializers default="html"&gt;
     &lt;map:serializer name="xml"
                     mime-type="text/xml"
                     src="org.apache.cocoon.serialization.XMLSerializer"/&gt;
(12 equal lines skipped)
    
    <p>A sample serializer entry in a pipeline</p>
    
--- <pre>
---  &lt;map:match pattern="hello.html"&gt;
+++ <pre> &lt;map:match pattern="hello.html"&gt;
        &lt;map:generate src="docs/samples/hello-page.xml"/&gt;
        &lt;map:transform src="stylesheets/page/simple-page2html.xsl"/&gt;
        &lt;map:serialize type="html"/&gt;
(39 equal lines skipped)
    
    <p>Log.xsl structure</p>
    
--- <pre>
--- &lt;xsl:stylesheet  version="1.0"
+++ <pre>&lt;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"&gt;
(16 equal lines skipped)
    
    <p>A sample use</p>
    
--- <pre>
--- &lt;xsp:page language="java"
+++ <pre>&lt;xsp:page language="java"
              xmlns:xsp="http://apache.org/xsp"
              xmlns:log="http://apache.org/xsp/log"&gt;
    
(4 equal lines skipped)
    &lt;/xsp:page&gt;
    </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:anoncvs@cvs.apache.org:/home/cvspublic 
+++ <pre>export CVSROOT=:pserver:anoncvs@cvs.apache.org:/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

Mime
View raw message