RE: Javascript within XSLT

Subject: RE: Javascript within XSLT
From: Charlie Kaiman <ckaiman@xxxxxxxxxxxxxxx>
Date: Thu, 20 Apr 2000 10:06:15 -0400
| No, in the XML output method  it will produce  &lt; and &gt;
| respectively, which in a conforming XHTML system is the right
| thing to put in a script element. For HTML use the html output method
| and then it will produce < and > as in html the script element has CDATA
| content.

My mistake.  Just an fyi, my problem stemmed from the fact that IE 5
requires <xsl:comment> in script elements:

	function yourJavaScript() {

Thank you for the clarification!

 XSL-List info and archive:

Current Thread