| <?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. |
| --> |
| |
| <!-- SVN $Id$ --> |
| |
| <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> |
| |
| <map:components> |
| <map:generators default="file"> |
| <map:generator name="file" src="org.apache.cocoon.generation.FileGenerator"/> |
| </map:generators> |
| |
| <map:transformers default="xslt"> |
| <map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"> |
| <xslt-processor-role>xalan</xslt-processor-role> |
| </map:transformer> |
| <map:transformer name="virtual1" src="org.apache.cocoon.transformation.VirtualPipelineTransformer"> |
| <map:transform src="vpc-transform.xsl"/> |
| </map:transformer> |
| <map:transformer name="virtual2" src="org.apache.cocoon.transformation.VirtualPipelineTransformer"> |
| <map:source param="src2"/> |
| <map:transform src="vpc-include.xsl"> |
| <map:parameter name="file" value="{src}"/> |
| </map:transform> |
| <map:transform src="vpc-include.xsl"> |
| <map:parameter name="file" value="{src2}"/> |
| </map:transform> |
| </map:transformer> |
| </map:transformers> |
| |
| <map:serializers default="xml"> |
| <map:serializer mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/> |
| </map:serializers> |
| |
| <map:matchers default="wildcard"> |
| <map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/> |
| </map:matchers> |
| |
| <map:pipes default="noncaching"> |
| <map:pipe name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"> |
| </map:pipe> |
| </map:pipes> |
| </map:components> |
| |
| <map:pipelines> |
| <map:pipeline> |
| |
| <map:match pattern="v1"> |
| <map:generate src="vpc-test.xml"/> |
| <map:transform type="virtual1"/> |
| <map:serialize/> |
| </map:match> |
| |
| <map:match pattern="v2"> |
| <map:generate src="vpc-test.xml"/> |
| <map:transform type="virtual2" src="vpc-test.xml"> |
| <map:parameter name="src2" value="vpc-test2.xml"/> |
| </map:transform> |
| <map:serialize/> |
| </map:match> |
| |
| </map:pipeline> |
| </map:pipelines> |
| </map:sitemap> |