I do have those param names inside my XSLT. Anyway I found an alternate way
to send values to these parameters from my URL without going thru <action>.
Thank you.
From: Sternath Elmar <[EMAIL PROTECTED]>
07/26/02 04:43 AM
Please respond to cocoon-users
To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
cc:
Subject: AW: Action and Transform map:parameter
Hi,
do you define your parameter inside the xsl stylesheet as follows:
<xsl:param name="name" /> before accessing it with $name?
The way you pass parameters to (XSLT) transformer seems to be ok.
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 25. Juli 2002 18:16
An: [EMAIL PROTECTED]
Betreff: Action and Transform map:parameter
Hi,
I am facing trouble in getting across value for my parameters from Action
into my Transformer. Here is what I am attempting to do -
<map:actions>
<map:action name="xyz" src="test.xyz"/>
</map:actions>
................
............
<map:match pattern="*.xml">
<map:act type="xyz">
<map:generate src="{1}.xml"/>
<map:transform src="xstyle/{1}.xsl">
<map:parameter name="kflag" value="{name}"/>
<map:parameter name="cflag" value="ALL"/>
<map:parameter name="rflag" value="ALL"/>
</map:transform>
<map:serialize type="html"/>
</map:act>
</map:match>
In my action I extract the name-value pair from my URI and send it to my
sitemap. I know I am extracting the value because I am able to send the
values to my generator but not to my transformer. Am I doing something
wrong here? Or is there a different way to pass parameters to my XSL
transformer. Any help would be appreciated.
Thank you,
Anand Krishnan
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>