blob: dfb68efd2a96b9595e79913f695a7f06139c7f81 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<!-- used by the internalRequest anteater test -->
<map:pipeline>
<map:match pattern="simpletest-content/**">
<map:generate src="{1}"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="simpletest-mounted/**">
<map:mount src="simpletest-mounted/" uri-prefix="simpletest-mounted"/>
</map:match>
<map:match pattern="simpletest">
<map:generate src="cocoon:/simpletest-content/a.xml"/>
<map:transform type="cinclude"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>
<!-- explain what this is -->
<map:pipeline>
<map:match pattern="">
<map:redirect-to uri="index.html"/>
</map:match>
<map:match pattern="directory.xml">
<map:generate type="directory" src=".">
<depth>1</depth>
</map:generate>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="index.html">
<map:aggregate element="combo">
<map:part src="index.xml"/>
<map:part src="cocoon:/directory.xml"/>
</map:aggregate>
<map:transform src="dir-links.xsl"/>
<map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
<map:parameter name="servletPath" value="{request:servletPath}"/>
<map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
<map:parameter name="contextPath" value="{request:contextPath}"/>
<map:parameter name="file" value="{1}/{2}.xml"/>
<map:parameter name="remove" value="{0}"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
<!-- process the explain-test page for subdirectories -->
<map:match pattern="**/">
<map:redirect-to uri="explain-test.html"/>
</map:match>
<map:match pattern="**/explain-test.html">
<map:generate src="{1}/explain-test.xml"/>
<map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
<map:parameter name="servletPath" value="{request:servletPath}"/>
<map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
<map:parameter name="contextPath" value="{request:contextPath}"/>
<map:parameter name="file" value="{1}/{2}.xml"/>
<map:parameter name="remove" value="{0}"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
<!-- mount subdirectories to contain tests -->
<map:match pattern="*/**">
<map:mount check-reload="yes" src="{1}/" uri-prefix="{1}"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>