[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CDATA required for javascript????
It doesn't make any difference unless or until you have some javascript
code which includes reserved XML characters - namely "<" and "&". These
must be escaped, either individually as "<" and "&" or as a block
by making the whole script a CDATA section. This is probably the more
readable and less error-prone method.
Francis. yan bai wrote: I noticed that several books put javascript in CDATA, 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
|