blob: d627182eda0861778cd0e3464ced7c95f40d2e0f [file] [log] [blame]
<?xml version="1.0"?>
<!-- jfor block samples sitemap -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<map:pipelines>
<map:pipeline type="caching">
<map:match pattern="">
<map:redirect-to uri="welcome"/>
</map:match>
<map:match pattern="welcome">
<map:generate src="misc/samples.xml"/>
<map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>
<map:serialize/>
</map:match>
<!-- ========================= jfor ================================ -->
<!-- hello world -->
<map:match pattern="hello.rtf">
<map:generate src="context://samples/hello-world/content/hello.xml"/>
<map:transform src="context://samples/hello-world/style/xsl/page2fo.xsl"/>
<map:serialize type="fo2rtf"/>
</map:match>
<map:match pattern="*.fo.xml">
<map:generate src="misc/{1}.fo.xml"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="*.rtf">
<map:generate src="cocoon:/{1}.fo.xml"/>
<map:serialize type="fo2rtf"/>
</map:match>
<map:match pattern="*.css">
<map:read src="misc/{1}.css"/>
</map:match>
<map:match pattern="**/*.css">
<map:read src="misc/{2}.css"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>