This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE:
Ard Schrijvers wrote:
It's a liitle bit easier to just write :
<a href="#" onclick="vbscript:OpenWindow3('{<xsl:value-of select="@SSN"/>}',{<xsl:value-of select="@Plancode"/><xsl:value-of select="@Plancode"/>})"> <xsl:value-of select="@SSN"/></a>
I suppose you get the error message because of 999-99-9999 is a string, and not a number, so just put single ' around the xsl:value of the first argument in your function
AFAICT, you can't do that. Do this instead (even shorter):
<a href="#" onclick="vbscript:OpenWindow3('{@SSN}',{@Plancode})"><xsl:value-of select="@SSN"/></a>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list