cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r329403 - /cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap
Date Sat, 29 Oct 2005 12:14:44 GMT
Author: rgardler
Date: Sat Oct 29 05:14:39 2005
New Revision: 329403

URL: http://svn.apache.org/viewcvs?rev=329403&view=rev
Log:
pass the documentPath to the stylesheet, this is used to calculate relative paths in links.
This is needed to allow the site to be hosted somehwhoere other than the root of the server.

Modified:
    cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap

Modified: cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap?rev=329403&r1=329402&r2=329403&view=diff
==============================================================================
--- cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap (original)
+++ cocoon/whiteboard/daisy-to-docs/src/documentation/sitemap.xmap Sat Oct 29 05:14:39 2005
@@ -34,7 +34,8 @@
           <map:part src="cocoon://daisy.site.655" />
         </map:aggregate>
         <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl">
-          <map:parameter name="pathPrefix" value="/2.1/"/>
+          <map:parameter name="documentPath" value="{0}"/>
+          <map:parameter name="pathPrefix" value="2.1/"/>
         </map:transform>
         <map:transform src="{lm:transform.html.document}"/>
         <map:select type="exists">
@@ -51,7 +52,8 @@
           <map:part src="cocoon://daisy.site.655" />
         </map:aggregate>
         <map:transform src="{forrest:plugins}/org.apache.forrest.plugin.input.Daisy/resources/stylesheets/daisy-to-html.xsl">
-          <map:parameter name="pathPrefix" value="/2.1/"/>
+          <map:parameter name="documentPath" value="{0}"/>
+          <map:parameter name="pathPrefix" value="2.1/"/>
         </map:transform>
         <map:transform src="{lm:transform.html.document}"/>
         <map:select type="exists">



Mime
View raw message