| <?xml version="1.0"?> |
| |
| <!--+ |
| | HTML block samples sitemap |
| | CVS $Id: sitemap.xmap,v 1.4 2003/08/16 15:17:10 joerg Exp $ |
| +--> |
| |
| <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> |
| |
| <!-- =========================== Views =================================== --> |
| |
| <map:views> |
| <map:view from-label="content" name="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 from-position="last" name="links"> |
| <map:serialize type="links"/> |
| </map:view> |
| </map:views> |
| |
| <!-- =========================== Pipelines ================================= --> |
| |
| <map:pipelines> |
| <map:pipeline type="caching"> |
| |
| <map:match pattern=""> |
| <map:redirect-to uri="welcome"/> |
| </map:match> |
| |
| <!-- list of samples --> |
| <map:match pattern="welcome"> |
| <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> |
| |
| <!-- ================ TIDY =========================== --> |
| |
| <map:match pattern="googlenews"> |
| <map:generate type="html" src="http://news.google.com/news/en/us/technology.html"> |
| <map:parameter name="xpath" value="/html"/> |
| </map:generate> |
| <map:transform src="stylesheets/googlenews.xsl"/> |
| <map:serialize type="xhtml"/> |
| </map:match> |
| |
| </map:pipeline> |
| </map:pipelines> |
| </map:sitemap> |