\section{DOM::Processing\-Instruction Class Reference}
\label{classDOM_1_1ProcessingInstruction}\index{DOM::ProcessingInstruction@{DOM::ProcessingInstruction}}
The {\tt  {\bf Processing\-Instruction}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction})} } interface represents a ''processing instruction'', used in XML as a way to keep processor-specific information in the text of the document.  


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

Inheritance diagram for DOM::Processing\-Instruction:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=91pt]{classDOM_1_1ProcessingInstruction__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::Processing\-Instruction:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=91pt]{classDOM_1_1ProcessingInstruction__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Processing\-Instruction} (const  {\bf Processing\-Instruction} \&other)\label{classDOM_1_1ProcessingInstruction_a1}

\item 
{\bf Processing\-Instruction} (const  {\bf Node} \&other)\label{classDOM_1_1ProcessingInstruction_a2}

\item 
{\bf Processing\-Instruction} \& {\bf operator=} (const  {\bf Node} \&other)\label{classDOM_1_1ProcessingInstruction_a3}

\item 
{\bf Processing\-Instruction} \& {\bf operator=} (const  {\bf Processing\-Instruction} \&other)\label{classDOM_1_1ProcessingInstruction_a4}

\item 
{\bf DOMString} {\bf target} () const 
\begin{CompactList}\small\item\em The target of this processing instruction. \item\end{CompactList}\item 
{\bf DOMString} {\bf data} () const 
\begin{CompactList}\small\item\em The content of this processing instruction. \item\end{CompactList}\item 
void {\bf set\-Data} (const  {\bf DOMString} \&)
\begin{CompactList}\small\item\em see {\bf data}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction_a7})} \item\end{CompactList}\item 
{\bf Style\-Sheet} {\bf sheet} () const 
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Link\-Style interface. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf Processing\-Instruction} (Processing\-Instruction\-Impl $\ast$i)\label{classDOM_1_1ProcessingInstruction_b0}

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

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt  {\bf Processing\-Instruction}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction})} } interface represents a ''processing instruction'', used in XML as a way to keep processor-specific information in the text of the document. 



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

\subsection{Member Function Documentation}
\index{DOM::ProcessingInstruction@{DOM::Processing\-Instruction}!target@{target}}
\index{target@{target}!DOM::ProcessingInstruction@{DOM::Processing\-Instruction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Processing\-Instruction::target () const}\label{classDOM_1_1ProcessingInstruction_a6}


The target of this processing instruction. 

XML defines this as being the first token following the markup that begins the processing instruction. 

Definition at line 257 of file dom\_\-xml.cpp.\index{DOM::ProcessingInstruction@{DOM::Processing\-Instruction}!data@{data}}
\index{data@{data}!DOM::ProcessingInstruction@{DOM::Processing\-Instruction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Processing\-Instruction::data () const}\label{classDOM_1_1ProcessingInstruction_a7}


The content of this processing instruction. 

This is from the first non white space character after the target to the character immediately preceding the {\tt  ?$>$ } . 

Definition at line 265 of file dom\_\-xml.cpp.\index{DOM::ProcessingInstruction@{DOM::Processing\-Instruction}!setData@{setData}}
\index{setData@{setData}!DOM::ProcessingInstruction@{DOM::Processing\-Instruction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Processing\-Instruction::set\-Data (const {\bf DOMString} \&)}\label{classDOM_1_1ProcessingInstruction_a8}


see {\bf data}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction_a7})} 

\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NO\_\-MODIFICATION\_\-ALLOWED\_\-ERR: Raised when the node is readonly. \end{description}
\end{Desc}


Definition at line 273 of file dom\_\-xml.cpp.\index{DOM::ProcessingInstruction@{DOM::Processing\-Instruction}!sheet@{sheet}}
\index{sheet@{sheet}!DOM::ProcessingInstruction@{DOM::Processing\-Instruction}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Style\-Sheet} Processing\-Instruction::sheet () const}\label{classDOM_1_1ProcessingInstruction_a9}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Link\-Style interface. 

The style sheet. 

Definition at line 288 of file dom\_\-xml.cpp.

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