cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@locus.apache.org
Subject cvs commit: xml-cocoon configuration.xml
Date Sun, 27 Feb 2000 07:20:32 GMT
pier        00/02/26 23:20:32

  Modified:    .        Tag: xml-cocoon2 configuration.xml
  Log:
  [Cocoon 2.0] Updated configuration, with a more meaningful configuration example.
  [NOTE] I'm not going to update the configuration file unless something changes
         in its structure, so, don't tell me that "it doesn't work".
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.4.2   +13 -8     xml-cocoon/Attic/configuration.xml
  
  Index: configuration.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/Attic/configuration.xml,v
  retrieving revision 1.1.4.1
  retrieving revision 1.1.4.2
  diff -u -r1.1.4.1 -r1.1.4.2
  --- configuration.xml	2000/02/27 03:44:41	1.1.4.1
  +++ configuration.xml	2000/02/27 07:20:32	1.1.4.2
  @@ -1,17 +1,22 @@
   <?xml version="1.0"?>
   
   <cocoon version="2.0">
  -  <component  role="parser"     class="org.apache.cocoon.components.parser.XercesParser"/>
  -  <generator  name="generator"  class="org.apache.cocoon.components.parser.XercesParser"/>
  -  <filter     name="filter"     class="org.apache.cocoon.components.parser.XercesParser"/>
  -  <component  role="serializer" class="org.apache.cocoon.serializers.XMLSerializer"/>
  +  <component  role="parser" class="org.apache.cocoon.components.parser.XercesParser"/>
  +
  +  <generator  name="file"    class="org.apache.cocoon.generators.FileGenerator"/>
  +  <generator  name="request" class="org.apache.cocoon.generators.RequestGenerator"/>
  +  <serializer name="xml"     class="org.apache.cocoon.serializers.XMLSerializer"/>
     
     <sitemap>
       <partition>
  -      <process uri="*.jpg" source="*.jpg">
  -        <generator name="file"/>
  -        <serializer name="xml"/>
  +      <process uri="*.txt" source="*.xml">
  +        <generator name="request">
  +          <parameter name="testName" value="testValue"/>
  +         </generator>
  +        <serializer name="xml">
  +          <parameter name="contentType" value="text/xml"/>
  +        </serializer>
         </process>
       </partition>
     </sitemap>
  -</cocoon>
  \ No newline at end of file
  +</cocoon>
  
  
  

Mime
View raw message