MAN page from Old RedHat 6.X perl-libxml-enno-1.00-6.i386.rpm
CDATASECTION
Section: User Contributed Perl Documentation (1)
Updated: perl 5.005, patch 03
Index NAME
XML::DOM::CDATASection - Escaping XML text blocks in XML::DOM
DESCRIPTION
XML::DOM::CDATASection extends the
XML::DOM::CharacterData manpage which extendsthe
XML::DOM::Node manpage.
CDATA sections are used to escape blocks of text containing charactersthat would otherwise be regarded as markup. The only delimiter that isrecognized in a CDATA section is the ``]]>'' string that ends the CDATAsection. CDATA sections can not be nested. The primary purpose is forincluding material such as XML fragments, without needing to escape allthe delimiters.
The DOMString attribute of the Text node holds the text that iscontained by the CDATA section. Note that this may contain charactersthat need to be escaped outside of CDATA sections and that, dependingon the character encoding ("charset") chosen for serialization, it maybe impossible to write out some characters as part of a CDATA section.
The CDATASection interface inherits the CharacterData interface throughthe Text interface. Adjacent CDATASections nodes are not merged by useof the Element.normalize() method.
NOTE: XML::DOM::Parser and XML::DOM::ValParser convert all CDATASections to regular text by default.To preserve CDATASections, set the parser option KeepCDATA to 1.
Index
- NAME
- DESCRIPTION
This document was created byman2html,using the manual pages.