You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by do...@cocoon.apache.org on 2004/07/09 15:44:23 UTC
[Cocoon Wiki] Updated: View
Date: 2004-07-09T06:44:23
Editor: DerekLastname <dh...@csir.co.za>
Wiki: Cocoon Wiki
Page: View
URL: http://wiki.apache.org/cocoon/View
changed link from [pipelines] to [pipeline]
Change Log:
------------------------------------------------------------------------------
@@ -1,4 +1,4 @@
-Views are [:Sitemap] components that define different views (endpoints) of a website, independent from its [:Pipelines]. Any pipeline may take part in a particular view.
+Views are [:Sitemap] components that define different views (endpoints) of a website, independent from its [:Pipeline]s. Any pipeline may take part in a particular view.
Views are exit points from a pipeline. (Therefore, you can request the output of earlier steps in a pipeline other than the usual endpoint, e.g. the raw XML before transformation?)
@@ -6,16 +6,16 @@
Views are defined as follows:
-{{{
-<map:views>
-<map:view name="content" from-label="content">
-<map:serialize type="xml"/>
-</map:view>
-
-<map:view name="links" from-position="last">
-<map:serialize type="links"/>
-</map:view>
-</map:views>
+{{{
+<map:views>
+<map:view name="content" from-label="content">
+<map:serialize type="xml"/>
+</map:view>
+
+<map:view name="links" from-position="last">
+<map:serialize type="links"/>
+</map:view>
+</map:views>
}}}
TODO: adding labels to site map components to invoke view processing