xsl-list
[Top] [All Lists]

Calling a vbscript function

2003-06-08 23:50:05
Hi All

I want to call a vbscript function MyFunction(intValue) which accepts an integer value and returns a string.

I am trying to do some thing like this :-

<msxsl:script language="VBScript" implements-prefix="user">
<![CDATA[

        function MyFunction( Secs )
        .........
        end function


]]>
</msxsl:script>

And I trying to call the function like this

<b><xsl:value-of select="user:MyFunction(<xsl:value-of select="$intDuration"/>)" /></b>

Can any one help me with the correct syntax.

Thanks and Regards
Rajith

_________________________________________________________________
Looking for love? Yearning for friendship? http://www.msn.co.in/Romance/ You're in the right place


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



<Prev in Thread] Current Thread [Next in Thread>