cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: Passing a parameter to a XSL Stylesheet
Date Thu, 23 Aug 2001 12:38:53 GMT
1) Put your parameters inside XML generated by XSP,
or
2) In XSP, put parameters as attributes of request object,
use action in sitemap to obtain these parameters into sitemap parameters,
ans pass these parameters to XSL:
<map:genenrate type="serverpage" src="..."/>
<map:act type="get-request-attributes">
<map:transform src="">
<map:parameter name="x" value="{paramName}"/>
</map:transofrm>
</map:act>

Vadim

  -----Original Message-----
  From: Christofer Dutz [mailto:christofer.dutz@danet.de]
  Sent: Thursday, August 23, 2001 4:13 AM
  To: cocoon-users@xml.apache.org
  Subject: Passing a parameter to a XSL Stylesheet


  Hi,

  Can somebody tell me how to create a XSP-page which can pass a parameter
to the XSL-file when beeing processed ?

  Regards,
      Christofer Dutz

Mime
View raw message