cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r539092 - /cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap
Date Thu, 17 May 2007 19:54:59 GMT
Author: felixk
Date: Thu May 17 12:54:58 2007
New Revision: 539092

URL: http://svn.apache.org/viewvc?view=rev&rev=539092
Log:
-use servlet services
-reformatted

Modified:
    cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539092&r1=539091&r2=539092
==============================================================================
--- cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-cron/cocoon-cron-sample/src/main/resources/COB-INF/sitemap.xmap
Thu May 17 12:54:58 2007
@@ -18,77 +18,79 @@
 <!-- CVS $Id$ -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
-<!-- =========================== Views =================================== -->
+    <!-- =========================== Views =================================== -->
 
- <map:views>
-  <map:view name="content" from-label="content">
-   <map:serialize type="xml"/>
-  </map:view>
-
-  <map:view from-label="content" name="pretty-content">
-    <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize type="html"/>
-  </map:view>
-
-  <map:view name="links" from-position="last">
-   <map:serialize type="links"/>
-  </map:view>
-
- </map:views>
-
-<!-- ============================ Flows ================================== -->
-
- <map:flow language="javascript">
-  <map:script src="cron.js"/>
- </map:flow>
-
-<!-- =========================== Pipelines ================================= -->
-
- <map:pipelines>
-
-  <map:pipeline internal-only="false">
-   <map:match pattern="*.view">
-    <map:generate type="jx" src="{1}.xml"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize/>
-   </map:match>
-  </map:pipeline>
-
-  <map:pipeline>
-
-   <map:match pattern="">
-     <map:redirect-to uri="samples"/>
-   </map:match>
-   
-   <map:match pattern="samples">
-    <map:generate src="samples.xml"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize/>
-   </map:match>
-   
-   <map:match pattern="docs.html">
-    <map:generate src="docs.xml"/>
-    <map:transform src="servlet:style-default:/common/style/xsl/html/complex-page2html.xsl"
/>
-    <map:transform type="servletLinkRewriter" />
-    <map:serialize/>
-   </map:match>   
-   
-   <map:match pattern="cron.html">
-    <map:call function="cron">
-       <map:parameter name="realPath" value="{realpath:/}"/>
-    </map:call>
-   </map:match>   
-   
-   <map:match pattern="continue.*">
-    <map:call continuation="{1}"/>
-   </map:match>
-        
-  </map:pipeline>
- </map:pipelines>
+    <map:views>
+        <map:view name="content" from-label="content">
+            <map:serialize type="xml" />
+        </map:view>
+
+        <map:view from-label="content" name="pretty-content">
+            <!-- Make use of servlet services -->
+            <map:serialize type="servletService">
+                <map:parameter name="service" value="servlet:style-default:/service/system/xml2html"
/>
+            </map:serialize>
+        </map:view>
+
+        <map:view name="links" from-position="last">
+            <map:serialize type="links" />
+        </map:view>
+
+    </map:views>
+
+    <!-- ============================ Flows ================================== -->
+
+    <map:flow language="javascript">
+        <map:script src="cron.js" />
+    </map:flow>
+
+    <!-- =========================== Pipelines ================================= -->
+
+    <map:pipelines>
+
+        <map:pipeline internal-only="false">
+            <map:match pattern="*.view">
+                <map:generate type="jx" src="{1}.xml" />
+                <!-- Make use of servlet services -->
+                <map:serialize type="servletService">
+                    <map:parameter name="service" value="servlet:style-default:/service/common/complex-page2html"
/>
+                </map:serialize>
+            </map:match>
+        </map:pipeline>
+
+        <map:pipeline>
+
+            <map:match pattern="">
+                <map:redirect-to uri="samples" />
+            </map:match>
+
+            <map:match pattern="samples">
+                <map:generate src="samples.xml" />
+                <!-- Make use of servlet services -->
+                <map:serialize type="servletService">
+                    <map:parameter name="service" value="servlet:style-default:/service/common/simple-samples2html"
/>
+                </map:serialize>
+            </map:match>
+
+            <map:match pattern="docs.html">
+                <map:generate src="docs.xml" />
+                <!-- Make use of servlet services -->
+                <map:serialize type="servletService">
+                    <map:parameter name="service" value="servlet:style-default:/service/common/complex-page2html"
/>
+                </map:serialize>
+            </map:match>
+
+            <map:match pattern="cron.html">
+                <map:call function="cron">
+                    <map:parameter name="realPath" value="{realpath:/}" />
+                </map:call>
+            </map:match>
+
+            <map:match pattern="continue.*">
+                <map:call continuation="{1}" />
+            </map:match>
 
-</map:sitemap>
+        </map:pipeline>
+    </map:pipelines>
 
-<!-- end of file -->
+</map:sitemap>



Mime
View raw message