[SWFObject] check the source on this site...
Aran Rhee
aran.rhee at qdc.net.au
Wed Jun 21 17:02:07 PDT 2006
Richard.
Perhaps the html page (or the swf object code block) is being generated from
an XML source ?
CDATA XML Sections are ignored by the XML parser during validation so you
can place code with special characters or non valid html without worry.
Things like double quotes (or html marked up text with <p> <b> tags etc)
which would normally need to be escaped in xml markup can be put safely
within a CDATA tag.
As an example, the below would break the XML parsing due to the "<" symbol
in the xml element text:
<message>if salary < 1000 then</message>
You would have to do something like the below to get around it normally:
<message>if salary < 1000 then</message>
The CDATA solution is:
<message>
<![CDATA[if salary < 1000 then]]>
</message>
BTW - Check out some flex code if you want to see a lot of CDATA tags :)
Cheers,
Aran
_____
From: swfobject-bounces at lists.deconcept.com
[mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of skala manda
Sent: Thursday, 22 June 2006 2:10 AM
To: swfobject at lists.deconcept.com
Subject: Re: [SWFObject] check the source on this site...
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
<http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/handr
aisers> Yahoo! Mail Beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deconcept.com/pipermail/swfobject-deconcept.com/attachments/20060622/8badcfcf/attachment-0001.htm>
More information about the Swfobject
mailing list