xsl-list
[Top] [All Lists]

XML object to Javascript string

2003-03-31 13:25:02

Hi-
 I am having trouble getting an xml object to convert to a string. I
have tried everything I can think of. Could someone please help? 

Here are the code snippets, but calling toString() is not doing what I
expect...

Thanks-
 Mac

<msxsl:script language="Javascript" implements-prefix="my">
        function split( str, toMatch )
        {       
                        var newString = str.toString()
                        return newString;
        }
</msxsl:script>

<xsl:value-of select="my:split( @task, $nextTask )" />


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