stefano     2003/03/01 07:44:06

  Modified:    src/webapp sitemap.xmap
  Log:
  added more docs into the first welcome pipeline (users don't read docs anyway so 
it's better to place them right in their face!)
  
  also fixed the macosx user pages (thanks to pier)
  
  Revision  Changes    Path
  1.91      +26 -2     xml-cocoon2/src/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- sitemap.xmap      1 Mar 2003 14:55:18 -0000       1.90
  +++ sitemap.xmap      1 Mar 2003 15:44:06 -0000       1.91
  @@ -348,7 +348,6 @@
              | be extended there.
              +-->
       </global-variables>
  -    <!-- Define component configuration here -->
     </map:component-configurations>
   
     <!-- main pipeline -->
  @@ -356,8 +355,33 @@
   
       <!-- welcome page -->
       <map:match pattern="">
  +    
  +      <!--+
  +          | Start generating SAX events inside the pipeline. In this case,
  +          | since no "type" attribute is specified, the default generator
  +          | is used and this is a regular XML parser that reads the
  +          | given file from the URL included in the "src" attribute and 
  +          | sends the events produced by the parser down the pipeline to 
  +          | be processed by the next stage.
  +          +-->
         <map:generate src="welcome.xml"/>
  +      
  +      <!--+
  +          | This transformer gets the input SAX events and transforms them
  +          | using the default trasformer (the XSLT transformer) thus
  +          | applying the XSLT stylesheet indicated in the "src" attribute
  +          | and sending the output down the pipeline to be processed by the
  +          | next stage.
  +          +-->
         <map:transform src="welcome.xslt"/>
  +      
  +      <!--+
  +          | The serializer concludes the SAX events journey into the pipeline
  +          | since it serializes the events it receives into a representation
  +          | depending on the serializer type. Here we choose the "XHMTL"
  +          | serializer, which will produce an XHTML representation of the 
  +          | SAX stream.
  +          +-->
         <map:serialize type="xhtml"/>
       </map:match>
   
  @@ -389,7 +413,7 @@
         <!-- unix -->
         <map:mount check-reload="yes" src="/home/{1}/public_html/" uri-prefix="~{1}"/>
         <!-- macosx -->
  -      <!--map:mount check-reload="yes" src="/Users/{1}/public_html/" 
uri-prefix="~{1}"/-->
  +      <!--map:mount check-reload="yes" src="/Users/{1}/Sites/" uri-prefix="~{1}"/-->
         <!-- win32 -->
         <!--map:mount check-reload="yes" src="/Documents and Settings/{1}/My 
Documents/My Website" uri-prefix="~{1}"/-->
       </map:match>
  
  
  

Reply via email to