class CDATASection

# class CDATASection | CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. More...
Full name | `DOM::CDATASection`
Definition | `#include <dom_xml.h>`
Inherits | DOM::Text [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- CDATASection ()
- CDATASection (const CDATASection &other)
- CDATASection (const Node &other)
- CDATASection & operator = (const Node &other)
- CDATASection & operator = (const CDATASection &other)
- ~CDATASection ()

#### Protected Methods

- CDATASection (CDATASectionImpl *i)

## Detailed Description

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, without 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 outside 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.normalize() method.

CDATASection () | ### CDATASection

CDATASection (const CDATASection &other) | ### CDATASection

CDATASection (const Node &other) | ### CDATASection

CDATASection & operator = (const Node &other) | ### operator =

Reimplemented from Text.

CDATASection & operator = (const CDATASection &other) | ### operator =

Reimplemented from Text.

~CDATASection () | ### ~CDATASection

CDATASection (CDATASectionImpl *i) | ### CDATASection

[protected]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.