kpiroumian    2002/07/12 01:28:04

  Modified:    src/documentation Tag: cocoon_2_0_3_branch sitemap.xmap
  Log:
  Fixed current page indication in docs (sync with HEAD)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.6   +27 -8     xml-cocoon2/src/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/sitemap.xmap,v
  retrieving revision 1.3.2.5
  retrieving revision 1.3.2.6
  diff -u -r1.3.2.5 -r1.3.2.6
  --- sitemap.xmap      10 Jul 2002 19:15:48 -0000      1.3.2.5
  +++ sitemap.xmap      12 Jul 2002 08:28:04 -0000      1.3.2.6
  @@ -61,6 +61,19 @@
   
    </map:views>
   
  +<!-- =========================== Resources ================================= -->
  +  <map:resources>
  +    <map:resource name="book">
  +      <map:generate src="xdocs/{../1}book.xml"/>
  +        <map:transform src="stylesheets/book2menu.xsl">
  +          <map:parameter name="use-request-parameters" value="true"/>
  +          <map:parameter name="resource" value="{resource}.html"/>
  +        </map:transform>
  +        <map:serialize type="xml"/>        
  +    </map:resource>
  +  </map:resources>
  +
  +
   <!-- =========================== Pipelines ================================= -->
   
    <map:pipelines>
  @@ -71,14 +84,20 @@
       <map:redirect-to uri="index.html"/>
      </map:match>
   
  -   <map:match pattern="**book-**.xml">
  -     <map:generate src="xdocs/{1}book.xml"/>
  -       <map:transform src="stylesheets/book2menu.xsl">
  -         <map:parameter name="use-request-parameters" value="true"/>
  -         <map:parameter name="resource" value="{2}.html"/>
  -       </map:transform>
  -     <map:serialize type="xml"/>
  -   </map:match>
  +  <!-- Process book.xml for nested levels -->
  +  <map:match pattern="**book-**/*.xml">
  +    <map:call resource="book">
  +      <map:parameter name="resource" value="{3}" />
  +    </map:call>
  +  </map:match>
  +
  +  <!-- Process book.xml -->  
  +  <map:match pattern="**book-**.xml">
  +    <map:call resource="book">
  +      <map:parameter name="resource" value="{2}" />                
  +    </map:call>
  +  </map:match>            
  +
   
      <!-- the main ToDo doc -->
      <map:match pattern="body-todo.xml">
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to