blob: 1fa28a5d6957c2dcff230400e88129f6d0bb01d8 [file] [log] [blame]
<?xml version="1.0"?>
<!-- CVS $Id: sitemap.xmap,v 1.2 2003/05/07 04:57:14 vgritsenko Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!--
Minimal sitemap to start making XML/XSP/XSLT transformations.
Author: Konstantin Piroumian "kpiroumian@apache.org"
-->
<map:components>
<map:generators default="file"/>
<map:transformers default="xslt"/>
<map:readers default="resource"/>
<map:serializers default="html"/>
<map:matchers default="wildcard"/>
<map:selectors default="browser"/>
</map:components>
<!-- =========================== Pipelines ================================= -->
<map:pipelines>
<map:pipeline>
<!-- Default URL matcher. Matches '/' URLs-->
<map:match pattern="">
<map:redirect-to uri="readme.html" />
</map:match>
<!-- This matches requests like 'page.xml' to display static output -->
<map:match pattern="*.xml">
<!-- {1} contains the value that substituted '*' in the pattern-->
<map:generate src="xml/{1}.xml"/>
<!-- You can change 'src' to 'xsl/{1}.xsl' to use custom stylesheets
for every page, e.g.: mypage.xml -> mypage.xsl -->
<map:transform src="xsl/style.xsl"/>
<!-- Just output the result as HTML (default)
Add 'type' attribute with 'xml' value to get XML output
-->
<map:serialize/>
</map:match>
<!-- This matches requests like 'page.xsp' to display dynamic output -->
<map:match pattern="*.xsp">
<!-- This generator uses 'serverpages' generator.
See the root sitemap for other types of available components -->
<map:generate type="serverpages" src="xsp/{1}.xsp"/>
<map:transform src="xsl/style.xsl"/>
<map:serialize/>
</map:match>
<!-- Display static HTML files, like readme.html -->
<map:match pattern="*.html">
<map:read src="{1}.html" mime-type="text/html" />
</map:match>
<!-- Add your pipelines here -->
</map:pipeline>
</map:pipelines>
</map:sitemap>
<!-- end of file -->