Subject: Re: How do In preserve '<' and '>' in <SCRIPT> [IE5 beta parsing]
From: Keith Visco <kvisco@xxxxxxxxx>
Date: Wed, 30 Dec 1998 12:27:47 -0500
|
Escape your script section with <![CDATA[ ]]>.
<SCRIPT Language="javascript">
<![CDATA[
... script code here ...
]]>
</SCRIPT>
Jean-Robert Wiame wrote:
>
> Hi,
> The goal of my XSL page is to create in memory a HTML page. In the HTML
> I need a <SCRIPT> section with Javascript code.
> In this section I must use the characters '<' and '>' for comparisons.
> But with IE 5.0 Beta, I can't insert the '<' and '>' alone.
> I don't know any escape type sequence for these characters.
> the <xsl:cdata> rule didn't preserve these characters.
> I can't use < and >
>
> How could I use these characters and preserve them from being parsed by
> IE5?
>
> Best regards,
>
> Wiame Jean-Robert
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|