blob: 6470e15e49d0130620c4dd3d59b430518383c8ba [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<!-- $Id: doctypes.xmap,v 1.17.2.1 2004/05/16 10:45:33 roku Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:components>
<map:generators default="file" />
<map:matchers default="wildcard"/>
<map:actions/>
</map:components>
<map:views>
</map:views>
<map:resources/>
<map:pipelines>
<map:pipeline>
<map:match pattern="*/*/*/**.xml">
<map:match type="step" pattern="view-revision">
<map:generate type="serverpages" src="../../content/rc/view.xsp">
</map:generate>
<map:transform src="../../xslt/rc/toDoc.xsl"/>
<map:transform src="xslt/{../3}2xhtml.xsl">
<map:parameter name="rendertype" value="{1}"/>
<map:parameter name="nodeid" value="{page-envelope:document-node-id}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
</map:match>
<!-- parametrized doctype matcher -->
<!-- pattern="{rendertype}/{area}/{doctype}/{document-path}" -->
<map:match pattern="*/*/*/**.xml">
<!--map:generate src="content/{2}/{4}.xml"/-->
<map:generate src="lenya:/{4}.xml"/>
<map:transform src="xslt/{3}2xhtml.xsl">
<map:parameter name="rendertype" value="{1}"/>
<map:parameter name="nodeid" value="{page-envelope:document-node-id}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>