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 19:34:11 UTC

[Cocoon Wiki] Updated: Generator

   Date: 2004-07-09T10:34:11
   Editor: JoergHeinicke <jo...@gmx.de>
   Wiki: Cocoon Wiki
   Page: Generator
   URL: http://wiki.apache.org/cocoon/Generator

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -8,13 +8,13 @@
 
 Generators are declared in the [:Sitemap]:
 
-{{{
-<map:generators default="file">
-<map:generator name="file"
-                src="org.apache.cocoon.generation.FileGenerator"
-                label="content"/>
-...
-</map:generators>
+{{{
+<map:generators default="file">
+<map:generator name="file"
+                src="org.apache.cocoon.generation.FileGenerator"
+                label="content"/>
+...
+</map:generators>
 }}}
 
 The {{{default}}} attribute on the generators element indicates that if a pipeline does not declare a generator, then this default will be automatically used.
@@ -23,12 +23,12 @@
 
 Example generator entry:
 
-{{{
-<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"/>
-</map:match>
+{{{
+<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"/>
+</map:match>
 }}}
 
 === Provided Implementations ===
@@ -51,4 +51,4 @@
  *  [:PHPGenerator] -- uses PHP pages as source of content for pipeline.
  *  WebServiceProxyGenerator -- Integrate content from web services into a pipeline.
 
-Some generators require additional libraries (PHP servlet, [:Velocity] engine, JSP engine, [:HTMLTidy], etc). 
+Some generators require additional libraries (PHP servlet, Velocity engine, JSP engine, [:HTMLTidy], etc).