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">
<map:pipelines>
--- <map:pipeline> <map:match pattern="myFirstPipeline">
+++ <map:pipeline>
+++ <map:match pattern="myFirstPipeline">
<map:generate src="myXmlFile.xml" type="file"/>
<map:serialize type="xml"/>
--- </map:match> <strong><strong><strong> <map:match
pattern="mySecondPipeline">
+++ </map:match> <strong><strong><strong>
+++ <map:match pattern="mySecondPipeline">
<map:generate src="myXmlFile.xml" type="file"/>
</strong></strong><strong><strong><strong><strong> <map:transform
src="myXsltFile.xslt" type="xslt"/></strong></strong></strong></strong>
<strong><strong> <map:serialize type="html"/>
(88 equal lines skipped)