RE: [xsl] Passing parameters to functions (MSXML3)

Subject: RE: [xsl] Passing parameters to functions (MSXML3)
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 8 Feb 2001 18:43:18 -0000
It might be worth passing "string($vstring)" to ensure you are passing a
string value rather than a result tree fragment.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ian Sparks
> Sent: 08 February 2001 16:16
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Passing parameters to functions (MSXML3)
>
>
> I'm trying to do this :
>
> <msxsl:script language="VBScript" implements-prefix="user">
>
> <![CDATA[
>
> function Echo(aString)
>
>
>   Echo = aString
>
> end function
>
> ]]>
>
> </msxsl:script>
>
> .......
>
> <xsl:variable name="vString">Hello!</xsl:variable
>
> <xsl:value-of select="user:Echo($vstring)"/>
>
> This isn't working for me..Can anyone put me straight?
>
> - Ian.
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread