Re: Javascript within XSLT

Subject: Re: Javascript within XSLT
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 20 Apr 2000 14:21:14 +0100 (BST)
   | Use &lt; and &gt; in place of < and > respectively.

This is the correct answer.

   Unfortunately, this is not going to work.  The result will be &amp;lt; and
   &amp;gt; respectively.

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.

David



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


Current Thread