This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Javascript within XSLT



   | 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]