Its hard to see exactly what you are doing because your xslt inside the function call got cut off.
Try generating the output with the concat function.
<xsl:variable name="parm1" select="servername"/>
<xsl:variable name="parm2" select="databasename"/>
<xsl:value-of select="concat('"',$parm1,'"',',','"',$parm2,'"')"/>
The double quotes above should look like this ' & q u o t ; ' in your source code. Hopefully you get the idea.
If that fails then its also possible to embed C# code in the transform and execute it.
>
>Now I want to add a column to the table that will have an clickable image that will call a VBScript function. So I'd like to have this HTML code emitted by the XSL:
>
>
<a href="vbscript:LaunchSQL( "sqlprod", "northwind" )"><img src="isqlw50.gif" border="0"></a>
>