Re: [xsl] JavaScript and XSLT

Subject: Re: [xsl] JavaScript and XSLT
From: Rick Taylor <taylor@xxxxxxxx>
Date: Thu, 20 Nov 2003 11:59:42 -0700
You can use curly brackets.

<a href="javascript:myFunction({.});"><xsl:value-of
select="."/></a>

rick

At 01:14 PM 11/20/2003 -0500, you wrote:

Does anyone know the correct syntax for inserting a Node into a JavaScript
Function call?

<a href="javascript:myFunction(<xsl:value-of select="."/> );"><xsl:value-of
select="."/></a>

Thanks in advance.



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

Rick Taylor XML Developer PPDM Association


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



Current Thread