xsl-list
[Top] [All Lists]

Re: [xsl] special characters in XSL

2009-12-17 03:35:40
You should use

cdata-section-elements="script"

cheers
andrew

2009/12/17 Anil Kumar Veeramalli 
<anil(_dot_)v(_at_)frescoinformatics(_dot_)com>:
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&lt;12;i++ ){.
'<' symbol is  replaced with  '&lt', so for loop in JavaScript is not
executing.

Please help me on this.


Thanks,
Anil




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>