| <?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> |
| <source-factories> |
| <component-instance class="org.apache.cocoon.components.source.impl.BlockSourceFactory" name="block"/> |
| </source-factories> |
| |
| <map:generators default="file"> |
| <map:generator name="file" src="org.apache.cocoon.generation.FileGenerator"/> |
| </map:generators> |
| |
| <map:serializers default="xml"> |
| <map:serializer mime-type="text/xml" name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/> |
| </map:serializers> |
| |
| <map:readers default="resource"> |
| <map:reader name="resource" src="org.apache.cocoon.reading.ResourceReader"/> |
| </map:readers> |
| |
| <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="samples.xml"> |
| <map:generate src="samples.xml"/> |
| <map:serialize type="xml"/> |
| </map:match> |
| |
| <map:match pattern="test*"> |
| <map:generate src="test.xml"/> |
| <map:serialize type="xml"/> |
| </map:match> |
| |
| <map:match pattern="**"> |
| <map:read src="block:super:/{1}"/> |
| </map:match> |
| |
| </map:pipeline> |
| </map:pipelines> |
| </map:sitemap> |