xsl-list
[Top] [All Lists]

Re: JavaScript and XSLT

2003-11-20 11:59:42
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



<Prev in Thread] Current Thread [Next in Thread>