You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Morley Howell <mo...@orbiscommunications.com> on 2004/07/19 18:35:57 UTC

variable xscript parameters

Hi all,

I'm trying to do a xscript:transform in an XSP page, and trying to pass
parameters to it. This works as long as the parameters are literal values.
If I try to put any XSP tags inside the parameter, it doesn't work. E.g. the
following works:

<xscript:transform name="soap-result" stylesheet="stylesheet">
	<xscript:parameter name="success">false</xscript:parameter>
</xscript:transform>

but this does not work:

<xscript:transform name="soap-result" stylesheet="stylesheet">
	<xscript:parameter
name="success"><xsp:expr>success</xsp:expr></xscript:parameter>
</xscript:transform>

There was a similar problem posted a while back at
http://archives.real-time.com/pipermail/cocoon-users/2002-October/024436.htm
l but there were no responses to it. Anyone have any ideas on how to pass
variables into an xscript:transform?

Thanks,

Morley Howell




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org