[SWFObject] check the source on this site...

Geoff Stearns geoff at deconcept.com
Thu Jun 22 07:26:32 PDT 2006


it's used in xml to insert chunks of code that may contain special  
xml chars - since the script has < and > in it, you have to use cdata  
tags to insert it.

it's usually used with xhtml 1.1 pages if you are sending the data as  
application/xhtml+xml mime type... but in 99% of cases you don't need  
the cdata tag in there because people usually send the pages as text/ 
html, in which case the browser doesn't really care and will render  
it properly anyway. another issue is that depending on your doctype,  
the html valudators might complain if you don't have your code in  
cdata tags.




On Jun 21, 2006, at 12:09 PM, skala manda wrote:

> Just curious, but does anyone have an idea why the 'CDATA'  tag was  
> added?
>
> - richard
>
> eric dolecki <edolecki at gmail.com> wrote:
> http://www.christinaaguilera.com/
>
> ;)
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
>
> Do you Yahoo!?
> Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060622/0aecc578/attachment-0005.htm>


More information about the Swfobject mailing list