cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: InputModules
Date Fri, 20 Aug 2004 04:53:56 GMT
   Date: 2004-08-19T21:53:56
   Editor: DeanCording <dean.cording@kaz-group.com>
   Wiki: Cocoon Wiki
   Page: InputModules
   URL: http://wiki.apache.org/cocoon/InputModules

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -189,6 +189,19 @@
   name="request"/>
 }}}
 
+'''Example Pipeline Fragment''':
+{{{
+<map:match pattern="foo">
+  <map:generate type="file" src="documents/{global:doc}"/>
+  <map:transform src="stylesheets/foo2html.xsl">
+    <map:parameter name="requestQueryString" value="{request:queryString}"/>
+    <map:parameter name="contextPath" value="{request:contextPath}"/>
+    <map:parameter name="lastVisitCookie" value="{request:cookies[name='lastVisit']/value}"/>
+  </map:transform>
+  <map:serialize/>
+</map:match>
+}}}
+
 ----
 = RequestParameterModule =
 

Mime
View raw message