Subject: RE: Problem with the use of JavaScript in a XSL file
From: "Andrew Welch" <AWelch@xxxxxxxxxxxxxxx>
Date: Wed, 5 Mar 2003 12:45:16 -0000
|
> I need Help. I have a problem using the character "<"other ">" in a
> javasript in a XSL file.
Hi,
Try wrapping script in <xsl:comment> and in a cdata section:
<script>
<xsl:comment>
<![CDATA[
]]>
</xsl:comment>
</script>
This will allow you to write javascript that doesnt bother the xslt processor, and will wrap the script in <!-- --> in the ouput.
cheers
andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.458 / Virus Database: 257 - Release Date: 24/02/2003
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|