This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]