Subject: Re: special characters in XSL
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 17 Dec 2009 08:35:17 +0000
|
You should use
cdata-section-elements="script"
cheers
andrew
2009/12/17 Anil Kumar Veeramalli <anil.v@xxxxxxxxxxxxxxxxxxxxx>:
> Hi,
>
> I am using XSL 1.0 version of XSL. my output type is HTML.
>
> <![CDATA[for (var i=0;i<12;i++ ){
> if(aMonths[i] == mon.toUpperCase()){
> return i;
> }
> }
> ]]>
>
> my output is showing as for (var i=0;i<12;i++ ){.
> '<' symbol is replaced with '<', so for loop in JavaScript is not
> executing.
>
> Please help me on this.
>
>
> Thanks,
> Anil
>
>
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
|