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 < and >
| 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:
<SCRIPT><xsl:comment><![CDATA[
function yourJavaScript() {
...
}
]]></xsl:comment><SCRIPT>
Thank you for the clarification!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|