Cdata Section In Xml. A cdata section is merely an alternative syntax for expressing character data; Entities are recognize in cdata while comment is not recognize.

This eliminates the need to go through the whole script, individually replacing all the potentially problematic characters. Cdata sections cannot be nested. In an xml document or external entity, a cdata section is a piece of element content that is marked up to be interpreted literally, as textual data, not as marked up content.