Document: URI Parametrizer
URL: 
https://lenya.zones.apache.org/cms/docu/live/docu12x/components/uri-handling/uri-parametrizer.html
Changed by user: Andreas Hartmann (andreas)


----
Removed: /comment()[1]

  Copyright 1999-2004 The Apache Software Foundation

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

----
Removed: /comment()[2]
 $Id: URIParametrizer.xml 55543 2004-10-26 00:14:59Z gregor $ 
----
Removed: /document/body/section[2]/section[2]/source[1]/text()

<map:act type="uriparametrizer">
  <map:parameter name="doctype"
          value="cocoon://uri-parameter/{publication-id}/doctype"/>
  <map:parameter name="path"
          value="cocoon://uri-parameter/{publication-id}/path"/>
  <map:generate src="cocoon:/{doctype}/{path}"/>
</map:act>

----
Added: /document/body/section[2]/section[2]/source[1]/text()
<map:act type="uriparametrizer">  <map:parameter name="doctype"   
value="cocoon://uri-parameter/{publication-id}/doctype"/>  <map:parameter 
name="path"   value="cocoon://uri-parameter/{publication-id}/path"/>  
<map:generate src="cocoon:/{doctype}/{path}"/></map:act>
----
Removed: /document/body/section[2]/section[2]/source[3]/text()

<?xml version="1.0"?>

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>

  <map:components>
    <map:generators default="file"/>
    <map:transformers default="xslt"/>
    <map:readers default="resource"/>
    <map:serializers default="html"/>
    <map:matchers default="wildcard"/>
    <map:actions/>
  </map:components>

  <map:views/>

  <map:resources/>

  <map:pipelines>

    <map:pipeline>
      
      <map:match pattern="**">
        <map:generate type="serverpages" src="content/parameters/doctype.xsp">
          <map:parameter name="value" value="{1}"/>
        </map:generate>
        <map:serialize type="xml"/>
      </map:match>
      
    </map:pipeline>

  </map:pipelines>
</map:sitemap>
----
Added: /document/body/section[2]/section[2]/source[3]/text()
<?xml version="1.0"?><map:sitemap 
xmlns:map="http://apache.org/cocoon/sitemap/1.0";>  <map:components>    
<map:generators default="file"/>    <map:transformers default="xslt"/>    
<map:readers default="resource"/>    <map:serializers default="html"/>    
<map:matchers default="wildcard"/>    <map:actions/>  </map:components>  
<map:views/>  <map:resources/>  <map:pipelines>    <map:pipeline>            
<map:match pattern="**">     <map:generate type="serverpages" 
src="content/parameters/doctype.xsp">          <map:parameter name="value" 
value="{1}"/>        </map:generate>        <map:serialize type="xml"/>      
</map:match>          </map:pipeline>  </map:pipelines></map:sitemap>
----
Removed: /document/body/section[2]/section[2]/source[4]/text()

<?xml version="1.0" encoding="ISO-8859-1"?>

<parameter 
xmlns="http://apache.org/cocoon/lenya/uri-parameters/1.0";>article</parameter>

----
Added: /document/body/section[2]/section[2]/source[4]/text()
<?xml version="1.0" encoding="ISO-8859-1"?><parameter 
xmlns="http://apache.org/cocoon/lenya/uri-parameters/1.0";>article</parameter>
----

  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to