This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to modify xsl:param with javascript
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] How to modify xsl:param with javascript
- From: "Brent Kobayashi" <brent at kobayashi dot ca>
- Date: Mon, 19 Mar 2001 18:16:55 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Robert Koberg
> Sent: March 19, 2001 5:54 PM
> To: xsl-list@lists.mulberrytech.com
> 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@koberg.com>
> To: <xsl-list@lists.mulberrytech.com>
> 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