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: Robert Koberg <rob at koberg dot com>
- Date: Mon, 19 Mar 2001 15:27:40 -0800
- References: <CPEMJEHKCEGNBHDPMJDJMEGBDCAA.brent@kobayashi.ca>
- Reply-To: xsl-list at lists dot mulberrytech dot com
No you are correct. I need sleep.
----- Original Message -----
From: "Brent Kobayashi" <brent@kobayashi.ca>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, March 19, 2001 3:16 PM
Subject: RE: [xsl] How to modify xsl:param with javascript
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list