This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Passing parameters to functions (MSXML3)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]