This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Javascript within XSLT
| Use < and > in place of < and > respectively.
This is the correct answer.
Unfortunately, this is not going to work. The result will be &lt; and
&gt; respectively.
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.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list