cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: Passing variables between XSL and JavaScript
Date Mon, 07 Nov 2005 23:00:58 GMT

On Nov 7, 2005, at 2:45 PM, Oleg Konovalov wrote:

> The problem is that I have to pass the value of the XSL variable
> as a parameter to that URL as:
> 'custdata_popup?bunit_num='<xsl:value-of
> select='sql:row[2]/sql:param1'/>
>
> How can I do that ?

It's called an "attribute value template", and it's part of XSLT.  E.g,

	<a href="custdata_popup?bunit_num={sql:row[2]/sql:param1}">click me</a>

HTH,
—ml—


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


Mime
View raw message