vgritsenko 2003/06/10 17:25:19
Modified: src/blocks/html/samples sitemap.xmap Log: Fix line endings Revision Changes Path 1.2 +57 -57 cocoon-2.1/src/blocks/html/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/blocks/html/samples/sitemap.xmap,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sitemap.xmap 11 Jun 2003 00:00:45 -0000 1.1 +++ sitemap.xmap 11 Jun 2003 00:25:19 -0000 1.2 @@ -1,57 +1,57 @@ -<?xml version="1.0"?> - -<!--+ - | HTML block samples sitemap - | CVS $Id$ - +--> - -<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 name="pretty-content" from-label="data"> - <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="yahoo"> - <map:generate type="html" src="http://www.yahoo.com"> - <map:parameter name="xpath" value="/html/body/center/table[4]/tr[1]/td[1]"/> - </map:generate> - <!-- map:transform src="stylesheets/news.xsl"/ --> - <map:serialize type="html"/> - </map:match> - - </map:pipeline> - </map:pipelines> -</map:sitemap> +<?xml version="1.0"?> + +<!--+ + | HTML block samples sitemap + | CVS $Id$ + +--> + +<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 name="pretty-content" from-label="data"> + <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="yahoo"> + <map:generate type="html" src="http://www.yahoo.com"> + <map:parameter name="xpath" value="/html/body/center/table[4]/tr[1]/td[1]"/> + </map:generate> + <!-- map:transform src="stylesheets/news.xsl"/ --> + <map:serialize type="html"/> + </map:match> + + </map:pipeline> + </map:pipelines> +</map:sitemap>