RE: [xsl] How to modify xsl:param with javascript

Subject: RE: [xsl] How to modify xsl:param with javascript
From: "Brent Kobayashi" <brent@xxxxxxxxxxxx>
Date: Mon, 19 Mar 2001 18:16:55 -0500
Should the href= have a closing double-quote?

ie;  <a href="JavaScript:increment('{$returnedSValue}'">

Pardon me if I'm missing something - I'd definitely classify myself as a
newbie here.

Brent

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Robert Koberg
> Sent: March 19, 2001 5:54 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] How to modify xsl:param with javascript
>
>
> Damn my itchy trigger finger...
>
> That should be:
> <a href="JavaScript:increment('{$returnedSValue}'>
>
> ----- Original Message -----
> From: "Robert Koberg" <rob@xxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, March 19, 2001 2:41 PM
> Subject: Re: [xsl] How to modify xsl:param with javascript
>
>
> > Yea, sorry, since it is in an attribute you need to put the value in a
> > variable first and then put it in the attribute like:
> > <xsl:variable name="returnedSValue">
> >    <xsl:call-template name="getSValue"/>
> > </xsl:variable>
> > <a href="JavaScript:increment('{returnedSValue}'>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread