You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fe...@apache.org on 2007/05/15 14:33:38 UTC

svn commit: r538155 - /cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF/hello-world/sitemap.xmap

Author: felixk
Date: Tue May 15 05:33:37 2007
New Revision: 538155

URL: http://svn.apache.org/viewvc?view=rev&rev=538155
Log:
Make the styles available to other blocks.
Some of the styles are used by other block samples.

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

Modified: cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF/hello-world/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF/hello-world/sitemap.xmap?view=diff&rev=538155&r1=538154&r2=538155
==============================================================================
--- cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF/hello-world/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-core-sample/cocoon-core-main-sample/src/main/resources/COB-INF/hello-world/sitemap.xmap Tue May 15 05:33:37 2007
@@ -152,6 +152,11 @@
     <map:generate src="content/hello_zip.xml"/>
     <map:serialize type="zip"/>
    </map:match>
+   
+   <!-- Make styles available to be used by other (sample-)blocks -->
+   <map:match pattern="style/**.xsl">
+     <map:read src="style/{1}.xsl" />
+   </map:match>
   </map:pipeline>
  </map:pipelines>
 </map:sitemap>