You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2005/09/06 23:20:34 UTC

svn commit: r279116 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2: internal.xmap src/documentation/content/locationmap.xml

Author: rgardler
Date: Tue Sep  6 14:20:12 2005
New Revision: 279116

URL: http://svn.apache.org/viewcvs?rev=279116&view=rev
Log:
Use the locationmap to resolve the XML source file

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/internal.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml

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=279116&r1=279115&r2=279116&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 14:20:12 2005
@@ -19,22 +19,16 @@
  
 <map:pipelines>
 
-  <map:pipeline>
-    <!-- TEMPTORARY PIPELINES -->
+  <map:pipeline>    
+  
+    <!-- TEMPORARY PIPELINES -->
     <!-- Pipelines below this section are for testing purposes only -->
     <!-- They should be removed before merging with trunk -->
-    <map:match pattern="samples/xhtml2_subset.html">
-      <map:generate src="{project:content.xdocs}/samples/xhtml2_subset.xml"/>
+    <map:match pattern="**.html">
+      <map:generate src="{lm:{1}.xml}"/>
       <map:transform src="resources/stylesheets/xhtml2html.xsl"/>
       <map:serialize/>
     </map:match>
-    
-    <!--Views-->
-    <map:match pattern="getView-**">
-      <map:generate src="{lm:getView/{1}}" />
-      <map:serialize type="xml"/>
-    </map:match>
-    
     
   </map:pipeline>
 </map:pipelines>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml?rev=279116&r1=279115&r2=279116&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/locationmap.xml Tue Sep  6 14:20:12 2005
@@ -33,8 +33,8 @@
   
   <locator>
     
-    <match pattern="test">
-        <location src="test" />
+    <match pattern="**.xml">
+        <location src="{project:content.xdocs}/{0}" />
     </match>
     
   </locator>