forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r368724 - in /forrest/trunk/plugins/org.apache.forrest.plugin.output.POD: locationmap.xml output.xmap resources/stylesheets/document-to-pod.xsl resources/stylesheets/pod/document2pod.xsl
Date Fri, 13 Jan 2006 14:01:30 GMT
Author: rgardler
Date: Fri Jan 13 06:01:18 2006
New Revision: 368724

URL: http://svn.apache.org/viewcvs?rev=368724&view=rev
Log:
use locationmap

Added:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml   (with props)
    forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/resources/stylesheets/document-to-pod.xsl
      - copied unchanged from r368705, forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/resources/stylesheets/pod/document2pod.xsl
Removed:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/resources/stylesheets/pod/document2pod.xsl
Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/output.xmap

Added: forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml?rev=368724&view=auto
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml (added)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml Fri Jan 13
06:01:18 2006
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
+
+  <components>
+    <matchers default="lm">
+      <matcher 
+        name="lm" 
+        src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
+    </matchers>
+    <selectors default="exists">
+          <selector name="exists" logger="sitemap.selector.exists"  
+                    src="org.apache.forrest.sourceexists.SourceExistsSelector" />
+    </selectors>
+  </components>
+  
+  <locator>  
+    <match pattern="pod.transform.*.*">
+        <location src="resources/stylesheets/{1}-to-{2}.xsl" />
+    </match>
+  </locator>
+</locationmap>

Propchange: forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/locationmap.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/output.xmap?rev=368724&r1=368723&r2=368724&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/output.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.POD/output.xmap Fri Jan 13 06:01:18
2006
@@ -38,7 +38,7 @@
         <map:transform type="xinclude"/>
         <map:transform type="linkrewriter" src="cocoon://{1}linkmap-{2}.pod"/>
         <map:transform src="{lm:transform.html.broken-links}"/>
-        <map:transform src="resources/stylesheets/pod/document2pod.xsl">
+        <map:transform src="{lm:pod.transform.document.pod}">
             <map:parameter name="docname" value="{2}"/>
         </map:transform>
         <map:serialize type="text"/>



Mime
View raw message