You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2003/07/31 06:25:48 UTC

cvs commit: cocoon-2.1/src/webapp/samples/xsp sitemap.xmap

vgritsenko    2003/07/30 21:25:48

  Modified:    src/webapp/samples/xsp sitemap.xmap
  Log:
  add views
  
  Revision  Changes    Path
  1.3       +20 -0     cocoon-2.1/src/webapp/samples/xsp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/xsp/sitemap.xmap,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sitemap.xmap	20 May 2003 00:54:12 -0000	1.2
  +++ sitemap.xmap	31 Jul 2003 04:25:48 -0000	1.3
  @@ -1,6 +1,26 @@
   <?xml version="1.0"?>
   
   <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>