lenya/src/webapp/lenya/pubs/default publication-sitemap.xmap,1.23,1.24

Andreas Hartmann <[email protected]> Mon, 12 May 2003 18:17:05 +0200
Newsgroups gmane.comp.cms.wyona.cvs
Message-ID <[email protected]>
Update of /repository/lenya/src/webapp/lenya/pubs/default
In directory erbium:/tmp/cvs-serv22281/src/webapp/lenya/pubs/default

Modified Files:
	publication-sitemap.xmap 
Log Message:
- changed page2xhtml to work with /lenya/cmsbody
- replaced stylesheet inclusion by pipeline step

Index: publication-sitemap.xmap
===================================================================
RCS file: /repository/lenya/src/webapp/lenya/pubs/default/publication-sitemap.xmap,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** publication-sitemap.xmap	10 May 2003 15:43:25 -0000	1.23
--- publication-sitemap.xmap	12 May 2003 16:17:02 -0000	1.24
***************
*** 22,25 ****
--- 22,26 ----
      <!-- Publisher  -->
      <map:pipeline>
+     
  <!--
        <map:match type="usecase" pattern="publish">
***************
*** 119,124 ****
  
      <map:pipeline>
!     <map:match pattern="lenyabody/*/*/*/*">
!           <map:aggregate element="cmsbody">
  <!--
            <map:aggregate element="body" prefix="page" ns="http://www.lenya.org/2003/page" label="aggregation">
--- 120,125 ----
  
      <map:pipeline>
!       <map:match pattern="lenyabody/*/*/*/*">
!         <map:aggregate element="cmsbody">
  <!--
            <map:aggregate element="body" prefix="page" ns="http://www.lenya.org/2003/page" label="aggregation">
***************
*** 130,135 ****
              <map:part src="cocoon://{1}/{2}/{3}/{4}.xml"/>
            </map:aggregate>
!       <map:serialize type="xml"/>
!     </map:match>
      </map:pipeline>
  
--- 131,136 ----
              <map:part src="cocoon://{1}/{2}/{3}/{4}.xml"/>
            </map:aggregate>
!         <map:serialize type="xml"/>
!       </map:match>
      </map:pipeline>
  
***************
*** 145,152 ****
            </map:aggregate>
  
!         <map:transform src="xslt/{doctype}-{../area}.xsl">
              <map:parameter name="root" value="{../context-prefix}/{../publication-id}"/>
              <map:parameter name="document-id" value="{../area}/{doctype}/{document-id}"/>
            </map:transform> 
  	</map:act>
        </map:act>
--- 146,155 ----
            </map:aggregate>
  
!           <map:transform src="xslt/page2xhtml.xsl">
              <map:parameter name="root" value="{../context-prefix}/{../publication-id}"/>
              <map:parameter name="document-id" value="{../area}/{doctype}/{document-id}"/>
            </map:transform> 
+           <map:transform src="xslt/{doctype}-{../area}.xsl"/>
+           
  	</map:act>
        </map:act>