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: Your first XML pipeline (publishing)
Date Mon, 28 May 2007 09:43:50 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1290.html

Document ID: 1290
Branch: main
Language: default
Name: Your first XML pipeline (publishing) (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/28/07 9:43:29 AM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 8255 bytes (previous version: 8239 bytes)
Content diff:
(7 equal lines skipped)
    <p>In this tutorial you will</p>
    
    <ol>
--- <li>get an overview of what a Cocoon pipelines and sitemaps are</li>
+++ <li>get an overview of what Cocoon pipelines and sitemaps are</li>
    <li>create your first pipeline that emits XML</li>
    <li>enhance this first pipeline by adding an XML transformation step based on
    XSLT that produces HTML as output</li>
(21 equal lines skipped)
    </ul>
    
    <p><strong>Sitemaps</strong> are used to define those pipelines and
connect them
--- with requests. This connections are defined by some kind of rules. In the
+++ with requests. These connections are defined by some kind of rules. In the
    context  of Cocoon  those rules are named matchers. Whenever one of those rules
--- (matcher) matches, a pipeline is executed.</p>
+++ (<em>matcher</em>) matches, a pipeline is executed.</p>
    
    <h1>Create a pipeline in the sitemap</h1>
    
(53 equal lines skipped)
     xmlns:map="http://apache.org/cocoon/sitemap/1.0"&gt;
    
      &lt;map:pipelines&gt;
---     &lt;map:pipeline&gt;       &lt;map:match pattern="myFirstPipeline"&gt;
+++     &lt;map:pipeline&gt;
+++       &lt;map:match pattern="myFirstPipeline"&gt;
            &lt;map:generate src="myXmlFile.xml" type="file"/&gt;
            &lt;map:serialize type="xml"/&gt;
---       &lt;/map:match&gt; <strong><strong><strong>      &lt;map:match
pattern="mySecondPipeline"&gt;
+++       &lt;/map:match&gt; <strong><strong><strong>      
+++       &lt;map:match pattern="mySecondPipeline"&gt;
            &lt;map:generate src="myXmlFile.xml" type="file"/&gt;
    </strong></strong><strong><strong><strong><strong>
       &lt;map:transform src="myXsltFile.xslt" type="xslt"/&gt;</strong></strong></strong></strong>
    <strong><strong>        &lt;map:serialize type="html"/&gt;
(88 equal lines skipped)


Mime
View raw message