|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Ian Sparks > Sent: 08 February 2001 16:16 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








