cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/documentation/xdocs/userdocs/concepts sitemap.xml
Date Fri, 02 Aug 2002 01:55:56 GMT
vgritsenko    2002/08/01 18:55:56

  Modified:    src/documentation/xdocs/userdocs/concepts sitemap.xml
  Log:
  remove extra spaces
  
  Revision  Changes    Path
  1.10      +43 -100   xml-cocoon2/src/documentation/xdocs/userdocs/concepts/sitemap.xml
  
  Index: sitemap.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/concepts/sitemap.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- sitemap.xml	1 Jul 2002 19:58:09 -0000	1.9
  +++ sitemap.xml	2 Aug 2002 01:55:56 -0000	1.10
  @@ -83,7 +83,6 @@
       </p>
     
       <source><![CDATA[<?xml version="1.0"?>
  -
     <map:sitemap 
         xmlns:map="http://apache.org/cocoon/sitemap/1.0">
       <map:components/>
  @@ -91,12 +90,12 @@
       <map:resources/>
       <map:action-sets/>
       <map:pipelines/>
  -  </map:sitemap>]]></source>
  +  </map:sitemap> ]]></source>
      </s2>
   
      <s2 title="The &lt;map:sitemap&gt;">
       <source><![CDATA[<map:sitemap 
  -    xmlns:map="http://apache.org/cocoon/sitemap/1.0">]]></source>
  +    xmlns:map="http://apache.org/cocoon/sitemap/1.0"> ]]></source>
   
       <p>
        The default namespaces are used mainly for versioning, instead of using 
  @@ -114,19 +113,16 @@
      </s2>
   
      <s2 title="The &lt;map:components&gt;">
  -    <source>
  -<![CDATA[
  -<map:components>
  -  <map:generators/>
  -  <map:transformers/>
  -  <map:serializers/>
  -  <map:readers/>
  -  <map:selectors/>
  -  <map:matchers/>
  -  <map:actions/>
  -</map:components>
  -]]>
  -    </source>
  +    <source><![CDATA[
  +  <map:components>
  +    <map:generators/>
  +    <map:transformers/>
  +    <map:serializers/>
  +    <map:readers/>
  +    <map:selectors/>
  +    <map:matchers/>
  +    <map:actions/>
  +  </map:components> ]]></source>
   
       <s3 title="Common Attributes of Components">
        <p>
  @@ -155,9 +151,7 @@
        <!-- This is a parameter to the transformer component -->
        <use-request-parameters>false</use-request-parameters>
     </map:transformer>
  -</map:components>
  -]]>
  -     </source>
  +</map:components> ]]></source>
        <p>
          The name and meaning of the parameters are dependent on the component.
        </p>
  @@ -179,9 +173,7 @@
       src="org.apache.cocoon.generation.ServerPagesGenerator">
      ...
     </map:generator>
  -</map:generators>
  -]]>
  -     </source>
  +</map:generators> ]]></source>
   
        <p>
         The <code>default</code> attribute on <code>&lt;map:generators&gt;</code>
specifies the type 
  @@ -205,9 +197,7 @@
     </map:transformer>
     <map:transformer name="xinclude" 
     src="org.apache.cocoon.transformation.XIncludeTransformer"/>
  -</map:transformers>
  -]]>
  -     </source>
  +</map:transformers> ]]></source>
   
        <p>
         The <code>default</code> attribute on <code>&lt;map:transformers&gt;</code>
specifies the type 
  @@ -253,9 +243,7 @@
     <map:serializer name="svg2png" mime-type="image/png" 
             src="org.apache.cocoon.serialization.SVGSerializer">
     </map:serializer>
  -</map:serializers>
  -]]>
  -     </source>
  +</map:serializers> ]]></source>
   
        <p>
         The <code>default</code> attribute on <code>&lt;map:serializers&gt;</code>
specifies the type 
  @@ -292,9 +280,7 @@
       <browser name="netscape" useragent="Mozilla"/>
      ...
     </map:selection>
  -</map:selection>
  -]]>
  -     </source>
  +</map:selection> ]]></source>
   
        <p>
         The <code>default</code> attribute on <code>&lt;map:selectors&gt;</code>
specifies the type 
  @@ -319,9 +305,7 @@
             src="org.apache.cocoon.matching.RegexpURIMatcher">
      ...
     </map:matcher>
  -</map:matchers>
  -]]>
  -     </source>
  +</map:matchers> ]]></source>
   
        <p>
         The <code>default</code> attribute on <code>&lt;map:matchers&gt;</code>
specifies the type 
  @@ -349,9 +333,7 @@
             src="org.apache.cocoon.acting.RequestParamAction"/>
     <map:action name="form-validator"
             src="org.apache.cocoon.acting.FormValidatorAction"/>
  -</map:actions>
  -]]>
  -     </source>
  +</map:actions> ]]></source>
   
       </s3>
      </s2>
  @@ -374,9 +356,7 @@
     <map:view name="links" from-position="last">
       <map:serialize type="links"/>
     </map:view>
  -</map:views>
  -]]>
  -    </source>
  +</map:views> ]]></source>
      </s2>
   
      <s2 title="The &lt;map:resources&gt;">
  @@ -392,9 +372,7 @@
       <map:transform src="./stylesheets/general-browser.xsl"/>
       <map:serialize status-code="401"/>
     </map:resource>
  -</map:resources>
  -]]>
  -    </source>
  +</map:resources> ]]></source>
      </s2>
   
      <s2 title="The &lt;map:action-sets&gt;">
  @@ -412,9 +390,7 @@
      <map:act type="upd-employee" action="Update"/>
      <map:act type="sel-employee" action="Select"/>
     </map:action-set>
  -</map:action-sets>
  -]]>
  -    </source>
  +</map:action-sets> ]]></source>
   
      </s2>
     </s1>
  @@ -541,8 +517,7 @@
       <source><![CDATA[
   <map:aggregate element="the-aggregated-content">
     <!-- define your map:parts here -->
  -</map:aggregate>
  -    ]]></source>
  +</map:aggregate> ]]></source>
       <p>
        Defining an aggregator implicits defining the parts building up the content of
        an aggregate.
  @@ -604,8 +579,7 @@
     <map:part src="cocoon:/book-{1}.xml"/>
     <map:part src="cocoon:/body-{1}.xml"/>
    </map:aggregate>
  - ...
  -    ]]></source>
  + ... ]]></source>
       <p>
        The aggregated xml content may look like this:
       </p>
  @@ -619,8 +593,7 @@
     <!-- content of body xml -->
     ...
    </document>
  -</site>
  -    ]]></source>
  +</site> ]]></source>
      </s2>
      <s2 title="Transforming">
       <p>
  @@ -674,8 +647,7 @@
     <map:transform type="i18n"/>
     <map:serialize/>
    </map:error-handler>
  -</map:pipeline>
  -    ]]></source>
  +</map:pipeline> ]]></source>
      </s2>
   
      <s2 title="Viewing">
  @@ -713,8 +685,7 @@
    </map:match>
    <map:match pattern="welcome">
    ...
  -</map:pipeline>
  -    ]]></source>
  +</map:pipeline> ]]></source>
      </s2>
      <s2 title="Calling resources">   
       <p>Calling resources is dissimilar to redirects as the client does
  @@ -739,10 +710,10 @@
      <map:parameter name="target" value="target-1"/>
     </map:call>
    ...
  -</map:pipeline>
  -    ]]></source>
  +</map:pipeline> ]]></source>
       </s2>
       <s2 title="Mounting sitemaps">
  +    <br/> <!-- FIXME: Otherwise s2 and s3 will appear on same line -->
        <s3 title="Introduction">
       <p>
          Mount points allow sitemaps to be cascaded and site management
  @@ -759,9 +730,7 @@
   <map:match pattern="faq/*"> 
     <map:mount uri-prefix="faq" check-reload="no"
                src="faq/sitemap.xmap"/>
  -</map:match> 
  -]]>
  -    </source>
  +</map:match> ]]></source>
       <p>
        The src attribute is where the sub-sitemap is located. If it ends in a slash
        "sitemap.xmap" is appended to find the sitemap, otherwise the src
  @@ -848,9 +817,7 @@
   
       </map:pipeline>
     </map:pipelines>
  -</map:sitemap>
  -]]>
  -     </source>
  +</map:sitemap> ]]></source>
       </s3>
       <s3 title="Reloading">
        <p>The reloading of the sub-sitemaps can be configured by two attributes,
  @@ -860,9 +827,7 @@
   <map:match pattern="faq/*"> 
     <map:mount uri-prefix="faq/" check-reload="no" 
        src="faq/sitemap.xmap" reload-method="asynchron"/> 
  -</map:match> 
  -]]>
  -     </source>
  +</map:match> ]]></source>
        <p>
         The "check-reload" attribute specifies whether the sitemap should be reloaded (regenerated)
if
         it's source XML (sitemap.xmap) is modified.  If "check-reload" is set to "no", the
sitemap is
  @@ -954,9 +919,7 @@
        */
       public void setConsumer(XMLConsumer consumer);
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-XMLConsumer"/>
  @@ -973,9 +936,7 @@
   public interface XMLConsumer extends ContentHandler,
                                        LexicalHandler {
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-XMLPipe"/>
  @@ -992,9 +953,7 @@
   <![CDATA[
   public interface XMLPipe extends XMLConsumer , XMLProducer {
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-sitemap-model-component"/>
  @@ -1015,9 +974,7 @@
       void setup(SourceResolver resolver, Map objectModel,
                  String src, Parameters par)
       throws ProcessingException, SAXException, IOException;
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-sitemap-output-component"/>
  @@ -1046,9 +1003,7 @@
        * Test if the component wants to set the content length
        */
       boolean shouldSetContentLength();
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
      <anchor id="interface-generator"/>
      <s2 title="Generator">
  @@ -1066,9 +1021,7 @@
       public void generate()
       throws IOException, SAXException, ProcessingException;
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-transformer"/>
  @@ -1084,9 +1037,7 @@
   
       String ROLE = "org.apache.cocoon.transformation.Transformer";
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-serializer"/>
  @@ -1102,9 +1053,7 @@
   
       String ROLE = "org.apache.cocoon.serialization.Serializer";
   
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-selector"/>
  @@ -1133,9 +1082,7 @@
        */
       boolean select (String expression, Map objectModel,
                       Parameters parameters);
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-matcher"/>
  @@ -1166,9 +1113,7 @@
        *                    If the return value is null there was no match.
        */
       Map match (String pattern, Map objectModel, Parameters parameters);      
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
   
      <anchor id="interface-action"/>
  @@ -1213,9 +1158,7 @@
       Map act(Redirector redirector, SourceResolver resolver,
               Map objectModel, String source, Parameters par)
       throws Exception;
  -}
  -]]>
  -    </source>
  +} ]]></source>
      </s2>
     </s1>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message