[xsl] XML object to Javascript string

Subject: [xsl] XML object to Javascript string
From: "Mac Martine" <email@xxxxxxxxxxxxxxxx>
Date: Mon, 31 Mar 2003 12:25:02 -0800
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


Current Thread