forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From che...@apache.org
Subject cvs commit: xml-forrest/src/resources/stylesheets directory2book.xsl
Date Tue, 15 Jul 2003 11:03:44 GMT
cheche      2003/07/15 04:03:44

  Modified:    src/resources/stylesheets directory2book.xsl
  Log:
  Fix typo, navigation.xmap not longer exist. Add exclude attribute on example to use
  
  Revision  Changes    Path
  1.4       +4 -3      xml-forrest/src/resources/stylesheets/directory2book.xsl
  
  Index: directory2book.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/directory2book.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- directory2book.xsl	4 Jul 2003 14:40:26 -0000	1.3
  +++ directory2book.xsl	15 Jul 2003 11:03:44 -0000	1.4
  @@ -2,7 +2,7 @@
   
   <!-- Converts the output of the DirectoryGenerator to Forrest's book.xml
   format.  Typically this would be used to define a book.xml pipeline for a
  -specific page.  Eg, in navigation.xmap, define the DirectoryGenerator:
  +specific page.  Eg, in menu.xmap, define the DirectoryGenerator:
   
   <map:generators default="file">
     <map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator"
/>
  @@ -11,10 +11,11 @@
   And then define the book.xml matcher for a directory that you want to
   automatically generate a menu for (here wiki/):
   
  -<map:match pattern="wiki/book-*">
  -  <map:generate type="directory" src="content/xdocs/wiki">
  +<map:match pattern="wiki/**book-*">
  +  <map:generate type="directory" src="content/xdocs/wiki/{1}">
       <map:parameter name="dateFormat" value="yyyy-MM-dd hh:mm" />
       <map:parameter name="depth" value="10" />
  +    <map:parameter name="exclude" value="[.][^x[^m][^l]|~$|^my-images$|^book[.]xml$"
/>
     </map:generate>
     <map:transform src="resources/stylesheets/directory2book.xsl" />
     <map:serialize type="xml"/>
  
  
  

Mime
View raw message