blob: 82a221d79431640826294dc9c6c0905c6f311bc8 [file] [log] [blame]
<?xml version="1.0"?>
<!-- CVS $Id: sitemap.xmap,v 1.13 2003/11/18 07:12:10 tony Exp $ -->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Views =================================== -->
<map:views>
<map:view name="content" from-label="content">
<map:serialize type="xml"/>
</map:view>
<map:view from-label="content" name="pretty-content">
<map:transform src="context://stylesheets/system/xml2html.xslt"/>
<map:serialize type="html"/>
</map:view>
<map:view name="links" from-position="last">
<map:serialize type="links"/>
</map:view>
</map:views>
<!-- =========================== Pipelines ================================= -->
<map:pipelines>
<map:pipeline>
<map:match pattern="">
<map:generate src="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>
<map:match pattern="hello.xml">
<map:generate src="content/hello.xml"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="hello.html">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2html.xsl"/>
<map:serialize type="html"/>
</map:match>
<map:match pattern="hello.xhtml">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2html.xsl"/>
<map:serialize type="xhtml"/>
</map:match>
<map:match pattern="hello.txt">
<map:generate src="content/hello.xml"/>
<map:serialize type="text"/>
</map:match>
<map:match pattern="hello.wml">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2wml.xsl"/>
<map:serialize type="wml"/>
</map:match>
<map:match pattern="hello.chtml">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2chtml.xsl"/>
<map:serialize type="chtml"/>
</map:match>
<map:match pattern="hello.vml">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2vml.xsl"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="hello.svg">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2svg.xsl"/>
<map:serialize type="svgxml"/>
</map:match>
<map:match pattern="hello.wrl">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2vrml.xsl"/>
<map:serialize type="vrml"/>
</map:match>
<map:match pattern="hello.service">
<map:generate src="content/hello.xml"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="hello.service/WSDL">
<map:generate src="webservice/HelloWorld.wsdl"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="hello.sxw">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2sxw.xsl"/>
<map:serialize type="sxw"/>
</map:match>
<map:match pattern="hello.sxc">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2sxc.xsl"/>
<map:serialize type="sxc"/>
</map:match>
<map:match pattern="hello.sxi">
<map:generate src="content/hello.xml"/>
<!-- FIXME: XSLTC fails on this stylesheet -->
<map:transform type="xalan" src="style/xsl/page2sxi.xsl"/>
<map:serialize type="sxi"/>
</map:match>
<map:match pattern="hello.sxd">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2sxd.xsl"/>
<map:serialize type="sxd"/>
</map:match>
<map:match pattern="hello-worldml.doc">
<map:generate src="content/hello.xml"/>
<map:transform src="style/xsl/page2wordml.xsl"/>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="hello.zip">
<map:generate src="content/hello_zip.xml"/>
<map:serialize type="zip"/>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>