RE: Help with lots of <'s

Subject: RE: Help with lots of <'s
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Thu, 26 Aug 1999 10:09:33 -0600
> The JavaScript has a lot of "<",">" and "&" characters in 
> it. [...] Is there a way I can use these charachters in a
> large block without having to write the equivalent 
> entities every time?

Wrap the characters in <![CDATA[...]]>, like this:

<xsl:text disable-output-escaping="yes">
<![CDATA[

<SCRIPT LANGUAGE="JavaScript"><!-- 
	... foo & bar ...
--></SCRIPT>

]]>
</xsl:text>

   - Mike
________________________________________________________________________
 Mike Brown / Hyperreal   |  Hyperreal http://www.hyperreal.org/music/
 PO Box 61334             |     XML & XSL http://www.skew.org/xml/
 Denver CO 80206-8334 USA |       http://www.hyperreal.org/~mike/


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


Current Thread