Thanks all for having a look.

this issue has been resolved.

Regards,

Arnab Jena
Assistant Systems Engineer
Tata Consultancy Services Limited
Bangalore,Karnataka
India
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com



Luca Morandini <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>

03/21/2006 02:29 PM

Please respond to
[email protected]

To
[email protected]
cc
Subject
Re: accessing a flowscript variable in xsl





[EMAIL PROTECTED] wrote:
>
>         I am working on flowscripts.I am passing a variable from a
> flowscript function to a pipeline in sitemap,
> and trying to access it in a xml and also a xsl.I am able to access it
> in the xml as ${variable_name} but when I
> am trying to access it in the same way as ${variable_name} in the xsl I
> am unable to access it.

A parameter has to be declared before using it in XSL, and the syntax is
different from the one used in JX templates.


> Can anyone through some light on the problem,any idea regarding how to
> access a variable in xsl passed from a flowscript function?

As usual in Cocoon, there are many ways to achieve this, but I presume
(though I never had the chance to use it myself) that
FlowAttributeModule input module is the best fit
(http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html).

Regards,

--------------------
   Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

ForwardSourceID:NT00006E12    
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

Reply via email to