[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How do In preserve '<' and '>' in <SCRIPT> [IE5 beta par
Something like this should work: <script><xsl:comment><![CDATA[ if (x < y) foo() ]]></xsl:comment></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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|