This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Passing parameters to functions (MSXML3)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Passing parameters to functions (MSXML3)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 8 Feb 2001 18:43:18 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Ian Sparks
> Sent: 08 February 2001 16:16
> To: xsl-list@lists.mulberrytech.com
> 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