XML::DOM::CDATASectionUser Contributed Perl DocumentaXML::DOM::CDATASection(3)
NAME
XML::DOM::CDATASection - Escaping XML text blocks in XML::DOM
DESCRIPTION
XML::DOM::CDATASection extends XML::DOM::CharacterData which extends
XML::DOM::Node.
CDATA sections are used to escape blocks of text containing characters that would
otherwise be regarded as markup. The only delimiter that is recognized in a CDATA
section is the "]]>" string that ends the CDATA section. CDATA sections can not be
nested. The primary purpose is for including material such as XML fragments, with-
out needing to escape all the delimiters.
The DOMString attribute of the Text node holds the text that is contained by the
CDATA section. Note that this may contain characters that need to be escaped out-
side of CDATA sections and that, depending on the character encoding ("charset")
chosen for serialization, it may be impossible to write out some characters as part
of a CDATA section.
The CDATASection interface inherits the CharacterData interface through the Text
interface. Adjacent CDATASections nodes are not merged by use of the Element.nor-
malize() 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.
perl v5.8.5 2000-01-31 XML::DOM::CDATASection(3)
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2009-01-08 22:05 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)