|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How I can include javscript code ?
>> There's no need to disable output escaping if you enclose your code
in
>> <![CDATA[ ]]> tags.
To get javascript in your output simply use a combination of
<xsl:comment> and cdata sections:
<script>
<xsl:comment>
<![CDATA[
for(var i = 0;i<3;i++)
{
alert('hello');
}
]]>
</xsl:comment>
</script>
cheers
andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
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
|

Cart








