shannon     02/05/13 11:18:39

  Modified:    src/documentation sitemap.xmap
  Log:
  Revised match for faq pages. Added faq, howto, tutorial entries to ToC
  
  Revision  Changes    Path
  1.10      +8 -3      xml-cocoon2/src/documentation/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/sitemap.xmap,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- sitemap.xmap      11 May 2002 06:53:36 -0000      1.9
  +++ sitemap.xmap      13 May 2002 18:18:39 -0000      1.10
  @@ -102,14 +102,16 @@
        <map:transform src="stylesheets/document2html.xsl"/>
        <map:serialize/>
      </map:match>
  -
  -   <map:match pattern="body-faq.xml">
  -     <map:generate type="file-nolabel" src="xdocs/faq.xml"/>
  +      
  +   <!-- FAQ docs -->
  +   <map:match pattern="body-**/faq-*.xml">
  +     <map:generate type="file-nolabel" src="xdocs/{1}/faq-{2}.xml"/>
        <map:transform src="stylesheets/faq2document.xsl" label="content"/>
        <map:transform src="stylesheets/document2html.xsl"/>
        <map:serialize/>
      </map:match>
   
  +
      <!-- Generate the "doclist" - list of all documentation
        The first match generates each book.xml and adds a new attribute "uri".
        The second match aggregates each book.xml into a doclist and
  @@ -137,6 +139,9 @@
          <map:part src="cocoon:/doclist/xdocs/userdocs/xsp/book.xml"/>
          <map:part src="cocoon:/doclist/xdocs/ctwig/book.xml"/>
          <map:part src="cocoon:/doclist/xdocs/developing/book.xml"/>
  +       <map:part src="cocoon:/doclist/xdocs/tutorial/book.xml"/>
  +       <map:part src="cocoon:/doclist/xdocs/howto/book.xml"/>
  +       <map:part src="cocoon:/doclist/xdocs/faq/book.xml"/>
          <map:part src="cocoon:/doclist/xdocs/plan/book.xml"/>
          <map:part src="cocoon:/doclist/xdocs/link/book.xml"/>
        </map:aggregate>
  
  
  

----------------------------------------------------------------------
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