forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhatia Praveen, HCLT-Japan" <prav...@hcltech.co.jp>
Subject How to pass parameter to .xsl file of <map:> construct?
Date Thu, 25 Nov 2004 04:56:49 GMT
Hi,
   I would like to know how to pass a parameter though <map:  ...>
conscturct of sitemap.xmap

   For example in the example below (from forrest site) how do I pass a
paramter to paramterizedfile.xsl?


<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 <map:pipelines>
  <map:pipeline>
   <map:match pattern="**download.xml">
    <map:generate src="{project:content.xdocs}{1}download.xml" />
    <map:transform
src="{project:resources.stylesheets}/parameterizedfile.xsl" />
    <map:serialize type="xml"/>
   </map:match>
  </map:pipeline>
 </map:pipelines>
</map:sitemap>


Praveen

Mime
View raw message