{
    "mode": "perldoc",
    "parameter": "XML::DOM::CDATASection",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ADOM%3A%3ACDATASection/json",
    "generated": "2026-06-10T16:18:33Z",
    "sections": {
        "NAME": {
            "content": "XML::DOM::CDATASection - Escaping XML text blocks in XML::DOM\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "XML::DOM::CDATASection extends XML::DOM::CharacterData which extends XML::DOM::Node.\n\nCDATA sections are used to escape blocks of text containing characters that would otherwise be\nregarded as markup. The only delimiter that is recognized in a CDATA section is the \"]]>\" string\nthat ends the CDATA section. CDATA sections can not be nested. The primary purpose is for\nincluding material such as XML fragments, without needing to escape all the delimiters.\n\nThe DOMString attribute of the Text node holds the text that is contained by the CDATA section.\nNote that this may contain characters that need to be escaped outside of CDATA sections and\nthat, depending on the character encoding (\"charset\") chosen for serialization, it may be\nimpossible to write out some characters as part of a CDATA section.\n\nThe CDATASection interface inherits the CharacterData interface through the Text interface.\nAdjacent CDATASections nodes are not merged by use of the Element.normalize() method.\n\nNOTE: XML::DOM::Parser and XML::DOM::ValParser convert all CDATASections to regular text by\ndefault. To preserve CDATASections, set the parser option KeepCDATA to 1.\n",
            "subsections": []
        }
    },
    "summary": "XML::DOM::CDATASection - Escaping XML text blocks in XML::DOM",
    "flags": [],
    "examples": [],
    "see_also": []
}