forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r279206 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
Date Wed, 07 Sep 2005 01:55:27 GMT
Author: rgardler
Date: Tue Sep  6 18:55:12 2005
New Revision: 279206

URL: http://svn.apache.org/viewcvs?rev=279206&view=rev
Log:
resolve the XML files and locationmap here

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap?rev=279206&r1=279205&r2=279206&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
Tue Sep  6 18:55:12 2005
@@ -20,12 +20,26 @@
 <map:pipelines>
 
   <map:pipeline>    
-  
+    <!-- forrest:views -->
+    <!--<map:mount uri-prefix="" src="structurer.xmap" check-reload="yes" />-->
+    
+    <!-- special matchers (reserved by Forrest) -->
+    <map:match pattern="locationmap.xml">
+      <map:generate src="{forrest:locationmap}" />
+      <map:serialize type="xml"/>
+    </map:match>
+        
+    <!-- Source matchers -->
+    <map:match pattern="**.xml">
+      <map:generate src="{lm:{0}}"/>
+      <map:serialize type="xml"/>
+    </map:match>
+    
     <!-- TEMPORARY PIPELINES -->
     <!-- Pipelines below this section are for testing purposes only -->
     <!-- They should be removed before merging with trunk -->
     <map:match pattern="**.html">
-      <map:generate src="{lm:{1}.xml}"/>
+      <map:generate src="cocoon:/{1}.xml"/>
       <!-- apply the view here -->
       <map:transform src="{lm:transform.xslt.xhtml2.html}"/>
       <map:serialize/>



Mime
View raw message