cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r539187 - /cocoon/trunk/blocks/cocoon-slop/cocoon-slop-sample/src/main/resources/COB-INF/sitemap.xmap
Date Fri, 18 May 2007 00:11:17 GMT
Author: felixk
Date: Thu May 17 17:11:16 2007
New Revision: 539187

URL: http://svn.apache.org/viewvc?view=rev&rev=539187
Log:
reformatting ...

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

Modified: cocoon/trunk/blocks/cocoon-slop/cocoon-slop-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-slop/cocoon-slop-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539187&r1=539186&r2=539187
==============================================================================
--- cocoon/trunk/blocks/cocoon-slop/cocoon-slop-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-slop/cocoon-slop-sample/src/main/resources/COB-INF/sitemap.xmap
Thu May 17 17:11:16 2007
@@ -20,73 +20,73 @@
 
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
-  <map:pipelines>
+    <map:pipelines>
 
-    <map:pipeline type="caching">
+        <map:pipeline type="caching">
 
-      <map:match pattern="">
-        <map:redirect-to uri="welcome"/>
-      </map:match>
-
-      <map:match pattern="welcome">
-        <map:generate src="welcome.xml"/>
-        <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
-        </map:transform>
-        <map:serialize/>
-      </map:match>
-
-        <!--
-            Javateach: minimal literate programming system where java classes
-            are output as nice HTML pages, mixing teaching comments and code
-        -->
-        <map:match pattern="javateach/**/*.java">
-            <map:read src="javateach/java-source/{1}/{2}.java" mime-type="text/plain"/>
-        </map:match>
-
-        <map:match pattern="javateach/**/*.css">
-            <map:read src="javateach/{2}.css" mime-type="text/css"/>
-        </map:match>
-
-        <map:match pattern="javateach/**/*.xml">
-            <map:generate type="slop" src="javateach/java-source/{1}/{2}.java">
-                <map:parameter name="encoding" value="iso-8859-1"/>
-                <map:parameter name="preserve-space" value="true"/>
-                <map:parameter name="valid-tagname-chars" value="/-_"/>
-            </map:generate>
-            <map:serialize type="xml"/>
-        </map:match>
-
-        <map:match pattern="javateach/**/*.html">
-            <map:generate src="cocoon:/javateach/{1}/{2}.xml"/>
-            <map:transform src="javateach/jt-to-html.xsl">
-                <map:parameter name="pageTitle" value="{1}/{2}.java"/>
-            </map:transform>
-            <map:serialize type="html"/>
-        </map:match>
-
-        <!--
-            use the same pipeline for rfc822 and tc for now, they can later
-            be separated to use different configurations of the SlopParser
-        -->
-        <map:match pattern="*/*.xml">
-            <map:generate type="slop" src="{2}.txt">
-                <map:parameter name="encoding" value="iso-8859-1"/>
-            </map:generate>
-            <map:serialize type="xml"/>
-        </map:match>
-        
-        <map:match pattern="*.txt">
-            <map:read mime-type="text/plain" src="{1}.txt"/>
-        </map:match>
-
-        <!-- more samples -->
-        <map:match pattern="*/**">
-           <map:mount src="{1}/" uri-prefix="{1}"/>
-         </map:match>
+            <map:match pattern="">
+                <map:redirect-to uri="welcome" />
+            </map:match>
+
+            <map:match pattern="welcome">
+                <map:generate src="welcome.xml" />
+                <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
+                    <map:parameter name="contextPath" value="{request:contextPath}" />
+                </map:transform>
+                <map:serialize />
+            </map:match>
+
+            <!--
+                Javateach: minimal literate programming system where java classes
+                are output as nice HTML pages, mixing teaching comments and code
+            -->
+            <map:match pattern="javateach/**/*.java">
+                <map:read src="javateach/java-source/{1}/{2}.java" mime-type="text/plain"
/>
+            </map:match>
+
+            <map:match pattern="javateach/**/*.css">
+                <map:read src="javateach/{2}.css" mime-type="text/css" />
+            </map:match>
+
+            <map:match pattern="javateach/**/*.xml">
+                <map:generate type="slop" src="javateach/java-source/{1}/{2}.java">
+                    <map:parameter name="encoding" value="iso-8859-1" />
+                    <map:parameter name="preserve-space" value="true" />
+                    <map:parameter name="valid-tagname-chars" value="/-_" />
+                </map:generate>
+                <map:serialize type="xml" />
+            </map:match>
+
+            <map:match pattern="javateach/**/*.html">
+                <map:generate src="cocoon:/javateach/{1}/{2}.xml" />
+                <map:transform src="javateach/jt-to-html.xsl">
+                    <map:parameter name="pageTitle" value="{1}/{2}.java" />
+                </map:transform>
+                <map:serialize type="html" />
+            </map:match>
+
+            <!--
+                use the same pipeline for rfc822 and tc for now, they can later
+                be separated to use different configurations of the SlopParser
+            -->
+            <map:match pattern="*/*.xml">
+                <map:generate type="slop" src="{2}.txt">
+                    <map:parameter name="encoding" value="iso-8859-1" />
+                </map:generate>
+                <map:serialize type="xml" />
+            </map:match>
+
+            <map:match pattern="*.txt">
+                <map:read mime-type="text/plain" src="{1}.txt" />
+            </map:match>
+
+            <!-- more samples -->
+            <map:match pattern="*/**">
+                <map:mount src="{1}/" uri-prefix="{1}" />
+            </map:match>
 
-    </map:pipeline>
+        </map:pipeline>
 
-  </map:pipelines>
+    </map:pipelines>
 
 </map:sitemap>



Mime
View raw message