cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ling Kok Choon <kokch...@brel.com>
Subject Re: Can I apply dynamic XSL to XML in Cocoon 2 ?
Date Fri, 04 Jan 2002 02:26:58 GMT
Hi,

   you may try to use Action in Sitemap to dinamically select diffirent xsl based on url or

requested xml file.

example :

    <map:match pattern="**.agg">
       <map:act type="path-selector">  
         <map:generate  src="{path}"/> 
         <map:transform src="{centerXSLPath}"/> 
       </map:act>	       
     <map:serialize/>       
     </map:match>

the path-selector action will select and return the xsl file's path.

hth,

regards,
Kok Choon.
--------------------------------------------------------
Name: Ling Kok Choon
E-mail: Ling Kok Choon <kokchoon@brel.com>
Date: 01/04/02
Time: 10:26:58

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions
--------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message