RE: JavaScript

Subject: RE: JavaScript
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Mon, 14 Feb 2000 10:31:02 -0700
> Surround your javascript with the <script> tag, an 
> <xsl:comment> tag and
> include the javascript in a CDATA section.
> 
> <script language="javascript"><xsl:comment><![CDATA[
>   function myFunction ()
>   {
>    doSomething ();
>   }
> //]]></xsl:comment></script>

What if you need to put a -- (double hyphen) in the Javascript? Or does this
never happen?


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


Current Thread