cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/samples/flow sitemap.xmap
Date Mon, 20 May 2002 21:05:05 GMT
ovidiu      02/05/20 14:05:05

  Modified:    src/webapp/samples/flow sitemap.xmap
  Log:
  Changed the relative URLs to context: URLs to avoid servlet container
  differences.
  
  Revision  Changes    Path
  1.2       +17 -12    xml-cocoon2/src/webapp/samples/flow/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/flow/sitemap.xmap,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sitemap.xmap	19 May 2002 19:23:28 -0000	1.1
  +++ sitemap.xmap	20 May 2002 21:05:05 -0000	1.2
  @@ -22,7 +22,7 @@
           <map:part src="cocoon:/book-{full-filename}.xml"/>
           <map:part src="cocoon:/body-{full-filename}.xml"/>
         </map:aggregate>
  -      <map:transform src="../../../documentation/stylesheets/site2xhtml.xsl">
  +      <map:transform src="context://documentation/stylesheets/site2xhtml.xsl">
           <map:parameter name="use-request-parameters" value="true"/>
           <map:parameter name="header" value="graphics/{filename}-header.jpg"/>
         </map:transform>
  @@ -46,7 +46,7 @@
           <map:transform type="augment">
             <map:parameter name="mount" value="samples/flow/"/>
           </map:transform>
  -        <map:transform src="../../../documentation/stylesheets/book2menu.xsl">
  +        <map:transform src="context://documentation/stylesheets/book2menu.xsl">
             <map:parameter name="use-request-parameters" value="true"/>
             <map:parameter name="resource" value="{2}.html"/>
           </map:transform>
  @@ -61,7 +61,7 @@
   
         <map:match pattern="body-**.xml">
           <map:generate src="docs/{1}.xml"/>
  -        <map:transform src="../../../documentation/stylesheets/document2html.xsl"/>
  +        <map:transform src="context://documentation/stylesheets/document2html.xsl"/>
           <map:serialize/>
         </map:match>
   
  @@ -80,27 +80,32 @@
         </map:match>
   
      <map:match pattern="**resources/script.js">
  -     <map:read src="../../../documentation/stylesheets/script-cli.js" mime-type="application/javascript"/>
  +     <map:read src="context://documentation/stylesheets/script-cli.js"
  +	       mime-type="application/javascript"/>
      </map:match>
   
      <map:match pattern="**resources/**.js">
  -     <map:read src="../../../documentation/stylesheets/{2}.js" mime-type="application/javascript"/>
  +     <map:read src="context://documentation/stylesheets/{2}.js"
  +	       mime-type="application/javascript"/>
      </map:match>
   
      <map:match pattern="**.css">
  -    <map:read src="../../../documentation/{1}.css" mime-type="text/css"/>
  +    <map:read src="context://documentation/{1}.css" mime-type="text/css"/>
      </map:match>
   
  -   <map:match pattern="**images/*.png">
  -    <map:read src="../../tutorial/resources/images/{2}.png" mime-type="image/png"/>
  +   <map:match pattern="**/images/*.png">
  +    <map:read src="context:///tutorial/resources/images/{2}.png"
  +	      mime-type="image/png"/>
      </map:match>
   
  -   <map:match pattern="**images/*.jpg">
  -    <map:read src="../../tutorial/resources/images/{2}.jpg" mime-type="image/jpeg"/>
  +   <map:match pattern="**/images/*.jpg">
  +    <map:read src="context:///tutorial/resources/images/{2}.jpg"
  +	      mime-type="image/jpeg"/>
      </map:match>
   
  -   <map:match pattern="**images/*.gif">
  -    <map:read src="../../tutorial/resources/images/{2}.gif" mime-type="image/gif"/>
  +   <map:match pattern="**/images/*.gif">
  +    <map:read src="context:///tutorial/resources/images/{2}.gif"
  +	      mime-type="image/gif"/>
      </map:match>
   
      <map:match pattern="**graphics/**-*.jpg">
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message