This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: JavaScript
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: JavaScript
- From: Mike Brown <mbrown at corp dot webb dot net>
- Date: Mon, 14 Feb 2000 10:31:02 -0700
- Reply-To: xsl-list at mulberrytech dot com
> 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