You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2007/12/12 12:34:35 UTC

svn commit: r603572 - /forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap

Author: thorsten
Date: Wed Dec 12 03:34:34 2007
New Revision: 603572

URL: http://svn.apache.org/viewvc?rev=603572&view=rev
Log:
Adding a slimed down version of the ls map

Added:
    forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap
      - copied, changed from r603561, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap

Copied: forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap (from r603561, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap)
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap?p2=forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap&p1=forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap&r1=603561&r2=603572&rev=603572&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap (original)
+++ forrest/trunk/whiteboard/cocoon-2.2-blocks/dispatcher/src/main/resources/COB-INF/ls.xmap Wed Dec 12 03:34:34 2007
@@ -15,74 +15,20 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!-- forrest:structurer
-  ***********************
-  The structuring of the assembled page where all content is in place
-  and structured with forrest:hooks to provide hooks for theming.
-  
-  It is the job of a forrest:structurer to define this structure. The
-  structurer uses for this a couple of helper classes forrest:contracts,
-  forrest:hooks and forrest:properties. But there is more to a
-  forrest:structurer than just structure. 
-  
-  The structurer is not limited to a document but can request and
-  structure the content from multiple input sources. Far more actually
-  because it provides as well logical conditions for presentation formatting logic
--->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-  <map:components>
-    <map:pipes default="caching" />
-    <map:generators default="file" />
-    <map:transformers default="xslt" />
-    <map:serializers default="xml" />
-  </map:components>
-  <map:pipelines>
 <!-- ls.contracts 
       list the default contracts-->
+   <map:pipelines>
     <map:pipeline>
-      <map:match pattern="ls.contracts.source.xml">
+      <map:match pattern="ls.contracts.xml">
         <map:generate src="{lm:themer.contracts.dir}" type="xpathdirectory">
           <map:parameter name="xpath" value="/*" />
-          <map:parameter name="xmlFiles" value="\.ft$" />
-          <map:parameter name="exclude" value="[\w]*.svn" />
-          <map:parameter name="depth" value="3" />
-        </map:generate>
-        <map:transform src="{lm:ls.contracts.xsl}" />
-        <map:serialize />
-      </map:match>
-      <map:match pattern="ls.contracts.**.plugin.**.source.xml">
-        <map:generate src="{forrest:forrest.plugins}/{1}.plugin.{2}/resources/themes" type="xpathdirectory">
-          <map:parameter name="xpath" value="/*" />
-          <map:parameter name="xmlFiles" value="\.ft$" />
+          <map:parameter name="xmlFiles" value="\.contract.xml$" />
           <map:parameter name="exclude" value="[\w]*.svn" />
           <map:parameter name="depth" value="3" />
         </map:generate>
         <map:transform src="{lm:ls.contracts.xsl}" />
-        <map:serialize type="xml-document"/>
-      </map:match>
-      <map:match pattern="ls.contracts.project.source.xml">
-        <map:generate src="{lm:themer.project.dir}" type="xpathdirectory">
-          <map:parameter name="xpath" value="/*" />
-          <map:parameter name="xmlFiles" value="\.ft$" />
-          <map:parameter name="exclude" value="[\w]*.svn" />
-          <map:parameter name="depth" value="3" />
-        </map:generate>
-        <map:transform src="{lm:ls.contracts.xsl}" />
-        <map:serialize />
-      </map:match>
-      <map:match pattern="ls.contracts.xml">
-        <map:generate src="cocoon:/ls.contracts.source.xml" />
-        <map:transform src="{lm:ls.contracts-to-document.xsl}" />
-        <map:serialize />
-      </map:match>
-      <map:match pattern="ls.contracts.**.plugin.**.xml">
-        <map:generate src="cocoon:/ls.contracts.{1}.plugin.{2}.source.xml" />
-        <map:transform src="{lm:ls.contracts-to-document.xsl}" />
-        <map:serialize />
-      </map:match>
-      <map:match pattern="ls.contracts.project.xml">
-        <map:generate src="cocoon:/ls.contracts.project.source.xml" />
-        <map:transform src="{lm:ls.contracts-to-document.xsl}" />
+        <map:transform src="resource/stylesheets/ls.contracts-to-html.xsl" />
         <map:serialize />
       </map:match>
       <map:match pattern="ls.contract-*.xml">