From: "Horsfield, Peter A." <[EMAIL PROTECTED]>
Absolutely:
<map:transform type="xslt"> <map:parameter name="paramName" value="{1}" /> </map:transform>
Then, in your XSLT file at the top level (under stylesheet)
<xsl:param name="paramName" value="defaultvalue" />
I've had problems using hyphens in parameter names, however.
Is this a known bug in Cocoon?
Peter
-----Original Message----- From: Sonny Sukumar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 3:03 PM To: [EMAIL PROTECTED] Subject: Pass sitemap params to "xslt" transformer?
Is there any way to pass *sitemap* parameters to the "xslt" transformer (TraxTransformer)? I know there's a "use-request-parameters" option to use request parameters, but that's not what I want to do.
I want to at least be able to pass in the request URI (e.g. "requestUri" in
"http://www.mysite.com/requestUri?id=12345"), but passing in parameters with
names/values of my choosing from the sitemap would be better.
Thanks for the help,
Sonny
_________________________________________________________________ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]