\section{DOM::CDATASection Class Reference}
\label{classDOM_1_1CDATASection}\index{DOM::CDATASection@{DOM::CDATASection}}
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.  


{\tt \#include $<$dom\_\-xml.h$>$}

Inheritance diagram for DOM::CDATASection:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=77pt]{classDOM_1_1CDATASection__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::CDATASection:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=77pt]{classDOM_1_1CDATASection__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf CDATASection} (const  {\bf CDATASection} \&other)\label{classDOM_1_1CDATASection_a1}

\item 
{\bf CDATASection} (const  {\bf Node} \&other)\label{classDOM_1_1CDATASection_a2}

\item 
{\bf CDATASection} \& {\bf operator=} (const  {\bf Node} \&other)\label{classDOM_1_1CDATASection_a3}

\item 
{\bf CDATASection} \& {\bf operator=} (const  {\bf CDATASection} \&other)\label{classDOM_1_1CDATASection_a4}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf CDATASection} (CDATASection\-Impl $\ast$i)\label{classDOM_1_1CDATASection_b0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Document}\label{classDOM_1_1CDATASection_n0}

\end{CompactItemize}


\subsection{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 \char`\"{}]]\&gt;\char`\"{} 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 {\tt  {\bf DOMString}{\rm (p.\,\pageref{classDOM_1_1DOMString})} } attribute of the {\tt  {\bf Text}{\rm (p.\,\pageref{classDOM_1_1Text})} } 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 (\char`\"{}charset\char`\"{}) chosen for serialization, it may be impossible to write out some characters as part of a CDATA section.

The {\tt  {\bf CDATASection}{\rm (p.\,\pageref{classDOM_1_1CDATASection})} } interface inherits the {\tt  {\bf Character\-Data}{\rm (p.\,\pageref{classDOM_1_1CharacterData})} } interface through the {\tt  {\bf Text}{\rm (p.\,\pageref{classDOM_1_1Text})} } interface. Adjacent {\tt  CDATASections } nodes are not merged by use of the {\bf Element.normalize()}{\rm (p.\,\pageref{classDOM_1_1Node_a25})} method. 



Definition at line 67 of file dom\_\-xml.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
dom\_\-xml.h\item 
dom\_\-xml.cpp\end{CompactItemize}
