Jun 282009

In an XML document, a CDATA section is a section of element content that is marked for the parser to interpret as only character data, not markup.
—-

<sender>John Smith</sender>

Here, the opening and closing “sender” tags are interpreted as markup.
However, if written like this:

<![CDATA[<sender>John Smith</sender>]]>

Everything are interpreted as character data (not makrup).

Posted by weboom at 4:35 pm Tagged with:
Switch to our mobile site
Top Footer