\section{DOM::Document Class Reference}
\label{classDOM_1_1Document}\index{DOM::Document@{DOM::Document}}
The {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } interface represents the entire HTML or XML document.  


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

Inheritance diagram for DOM::Document:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=82pt]{classDOM_1_1Document__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for DOM::Document:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=64pt]{classDOM_1_1Document__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Document} (bool)
\begin{CompactList}\small\item\em don't create an implementation if false use at own risk \item\end{CompactList}\item 
{\bf Document} (const  {\bf Document} \&other)\label{classDOM_1_1Document_a2}

\item 
{\bf Document} (const  {\bf Node} \&other)\label{classDOM_1_1Document_a3}

\item 
{\bf Document} \& {\bf operator=} (const  {\bf Node} \&other)\label{classDOM_1_1Document_a4}

\item 
{\bf Document} \& {\bf operator=} (const  {\bf Document} \&other)\label{classDOM_1_1Document_a5}

\item 
{\bf Document\-Type} {\bf doctype} () const 
\begin{CompactList}\small\item\em The {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} Type Declaration (see {\tt  {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} } ) associated with this document. \item\end{CompactList}\item 
{\bf DOMImplementation} {\bf implementation} () const 
\begin{CompactList}\small\item\em The {\tt  {\bf DOMImplementation}{\rm (p.\,\pageref{classDOM_1_1DOMImplementation})} } object that handles this document. \item\end{CompactList}\item 
{\bf Element} {\bf document\-Element} () const 
\begin{CompactList}\small\item\em This is a convenience attribute that allows direct access to the child node that is the root element of the document. \item\end{CompactList}\item 
{\bf Element} {\bf create\-Element} (const  {\bf DOMString} \&tag\-Name)
\begin{CompactList}\small\item\em Creates an element of the type specified. \item\end{CompactList}\item 
{\bf Element} {\bf create\-Element\-NS} (const  {\bf DOMString} \&namespace\-URI, const  {\bf DOMString} \&qualified\-Name)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Creates an element of the given qualified name and namespace URI. \item\end{CompactList}\item 
{\bf Document\-Fragment} {\bf create\-Document\-Fragment} ()
\begin{CompactList}\small\item\em Creates an empty {\tt  {\bf Document\-Fragment}{\rm (p.\,\pageref{classDOM_1_1DocumentFragment})} } object. \item\end{CompactList}\item 
{\bf Text} {\bf create\-Text\-Node} (const  {\bf DOMString} \&data)
\begin{CompactList}\small\item\em Creates a {\tt  {\bf Text}{\rm (p.\,\pageref{classDOM_1_1Text})} } node given the specified string. \item\end{CompactList}\item 
{\bf Comment} {\bf create\-Comment} (const  {\bf DOMString} \&data)
\begin{CompactList}\small\item\em Creates a {\tt  {\bf Comment}{\rm (p.\,\pageref{classDOM_1_1Comment})} } node given the specified string. \item\end{CompactList}\item 
{\bf CDATASection} {\bf create\-CDATASection} (const  {\bf DOMString} \&data)
\begin{CompactList}\small\item\em Creates a {\tt  {\bf CDATASection}{\rm (p.\,\pageref{classDOM_1_1CDATASection})} } node whose value is the specified string. \item\end{CompactList}\item 
{\bf Processing\-Instruction} {\bf create\-Processing\-Instruction} (const  {\bf DOMString} \&target, const  {\bf DOMString} \&data)
\begin{CompactList}\small\item\em Creates a {\tt  {\bf Processing\-Instruction}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction})} } node given the specified name and data strings. \item\end{CompactList}\item 
{\bf Attr} {\bf create\-Attribute} (const  {\bf DOMString} \&name)
\begin{CompactList}\small\item\em Creates an {\tt  {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} } of the given name. \item\end{CompactList}\item 
{\bf Attr} {\bf create\-Attribute\-NS} (const  {\bf DOMString} \&namespace\-URI, const  {\bf DOMString} \&qualified\-Name)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Creates an attribute of the given qualified name and namespace URI. \item\end{CompactList}\item 
{\bf Entity\-Reference} {\bf create\-Entity\-Reference} (const  {\bf DOMString} \&name)
\begin{CompactList}\small\item\em Creates an {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})} object. \item\end{CompactList}\item 
{\bf Element} {\bf get\-Element\-By\-Id} (const  {\bf DOMString} \&element\-Id) const 
\begin{CompactList}\small\item\em Moved from {\bf HTMLDocument}{\rm (p.\,\pageref{classDOM_1_1HTMLDocument})} in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Returns the {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} whose {\tt  id } is given by element\-Id. \item\end{CompactList}\item 
{\bf Node\-List} {\bf get\-Elements\-By\-Tag\-Name} (const  {\bf DOMString} \&tagname)
\begin{CompactList}\small\item\em No Exceptions. \item\end{CompactList}\item 
{\bf Node\-List} {\bf get\-Elements\-By\-Tag\-Name\-NS} (const  {\bf DOMString} \&namespace\-URI, const  {\bf DOMString} \&local\-Name)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 No Exceptions. \item\end{CompactList}\item 
{\bf Node} {\bf import\-Node} (const  {\bf Node} \&imported\-Node, bool deep)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2. \item\end{CompactList}\item 
bool {\bf is\-HTMLDocument} () const \label{classDOM_1_1Document_a24}

\item 
Range {\bf create\-Range} ()
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-Range interface. \item\end{CompactList}\item 
{\bf Node\-Iterator} {\bf create\-Node\-Iterator} ({\bf Node} root, unsigned long what\-To\-Show, {\bf Node\-Filter} filter, bool entity\-Reference\-Expansion)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-Traversal interface. \item\end{CompactList}\item 
{\bf Tree\-Walker} {\bf create\-Tree\-Walker} ({\bf Node} root, unsigned long what\-To\-Show, {\bf Node\-Filter} filter, bool entity\-Reference\-Expansion)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-Traversal interface. \item\end{CompactList}\item 
{\bf Event} {\bf create\-Event} (const  {\bf DOMString} \&event\-Type)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-Event interface. \item\end{CompactList}\item 
{\bf Abstract\-View} {\bf default\-View} () const 
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-View interface. \item\end{CompactList}\item 
{\bf Style\-Sheet\-List} {\bf style\-Sheets} () const 
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-Style interface. \item\end{CompactList}\item 
{\bf KHTMLView} $\ast$ {\bf view} () const 
\item 
{\bf CSSStyle\-Declaration} {\bf get\-Override\-Style} (const  {\bf Element} \&elt, const  {\bf DOMString} \&pseudo\-Elt)
\begin{CompactList}\small\item\em Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 This method is from the Document\-CSS interface. \item\end{CompactList}\item 
{\bf DOMString} {\bf complete\-URL} (const  {\bf DOMString} \&url)
\begin{CompactList}\small\item\em not part of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf Document} (Document\-Impl $\ast$i)\label{classDOM_1_1Document_b0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf ::KHTMLView}\label{classDOM_1_1Document_n0}

\item 
class {\bf ::KHTMLPart}\label{classDOM_1_1Document_n1}

\item 
class {\bf Abstract\-View}\label{classDOM_1_1Document_n2}

\item 
class {\bf DOMImplementation}\label{classDOM_1_1Document_n3}

\item 
class {\bf HTMLFrame\-Element}\label{classDOM_1_1Document_n4}

\item 
class {\bf HTMLIFrame\-Element}\label{classDOM_1_1Document_n5}

\item 
class {\bf HTMLObject\-Element}\label{classDOM_1_1Document_n6}

\item 
class {\bf Node}\label{classDOM_1_1Document_n7}

\end{CompactItemize}


\subsection{Detailed Description}
The {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } interface represents the entire HTML or XML document. 

Conceptually, it is the root of the document tree, and provides the primary access to the document's data.

Since elements, text nodes, comments, processing instructions, etc. cannot exist outside the context of a {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } , the {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } interface also contains the factory methods needed to create these objects. The {\tt  {\bf Node}{\rm (p.\,\pageref{classDOM_1_1Node})} } objects created have a {\tt  owner\-Document } attribute which associates them with the {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } within whose context they were created. 



Definition at line 244 of file dom\_\-doc.h.

\subsection{Constructor \& Destructor Documentation}
\index{DOM::Document@{DOM::Document}!Document@{Document}}
\index{Document@{Document}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Document::Document (bool)}\label{classDOM_1_1Document_a1}


don't create an implementation if false use at own risk 



Definition at line 163 of file dom\_\-doc.cpp.

References KStd\-Action::create().

\subsection{Member Function Documentation}
\index{DOM::Document@{DOM::Document}!doctype@{doctype}}
\index{doctype@{doctype}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Document\-Type} Document::doctype () const}\label{classDOM_1_1Document_a7}


The {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} Type Declaration (see {\tt  {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} } ) associated with this document. 

For HTML documents as well as XML documents without a document type declaration this returns {\tt  null } . The {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 1 does not support editing the {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} Type Declaration, therefore {\tt  doc\-Type } cannot be altered in any way. 

Definition at line 211 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!implementation@{implementation}}
\index{implementation@{implementation}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMImplementation} Document::implementation () const}\label{classDOM_1_1Document_a8}


The {\tt  {\bf DOMImplementation}{\rm (p.\,\pageref{classDOM_1_1DOMImplementation})} } object that handles this document. 

A {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} application may use objects from multiple implementations. 

Definition at line 217 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!documentElement@{documentElement}}
\index{documentElement@{documentElement}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Element} Document::document\-Element () const}\label{classDOM_1_1Document_a9}


This is a convenience attribute that allows direct access to the child node that is the root element of the document. 

For HTML documents, this is the element with the tag\-Name \char`\"{}HTML\char`\"{}. 

Definition at line 223 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!createElement@{createElement}}
\index{createElement@{createElement}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Element} Document::create\-Element (const {\bf DOMString} \& {\em tag\-Name})}\label{classDOM_1_1Document_a10}


Creates an element of the type specified. 

Note that the instance returned implements the {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} interface, so attributes can be specified directly on the returned object.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tag\-Name}]The name of the element type to instantiate. For XML, this is case-sensitive. For HTML, the {\tt  tag\-Name } parameter may be provided in any case, but it must be mapped to the canonical uppercase form by the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} implementation.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\tt  {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} } object.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]INVALID\_\-CHARACTER\_\-ERR: Raised if the specified name contains an invalid character. \end{description}
\end{Desc}


Definition at line 229 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!createElementNS@{createElementNS}}
\index{createElementNS@{createElementNS}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Element} Document::create\-Element\-NS (const {\bf DOMString} \& {\em namespace\-URI}, const {\bf DOMString} \& {\em qualified\-Name})}\label{classDOM_1_1Document_a11}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Creates an element of the given qualified name and namespace URI. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em namespace\-URI}]The namespace URI of the element to create.\item[{\em qualified\-Name}]The qualified name of the element type to instantiate.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} object with the following attributes:\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em INVALID\_\-CHARACTER\_\-ERR}]Raised if the specified qualified name contains an illegal character.\item[{\em NAMESPACE\_\-ERR}]Raised if the qualified\-Name is malformed, if the qualified\-Name has a prefix and the namespace\-URI is null, or if the qualified\-Name has a prefix that is \char`\"{}xml\char`\"{} and the namespace\-URI is different from \char`\"{}http://www.w3.org/XML/1998/namespace\char`\"{} \end{description}
\end{Desc}


Definition at line 240 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!createDocumentFragment@{createDocumentFragment}}
\index{createDocumentFragment@{createDocumentFragment}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Document\-Fragment} Document::create\-Document\-Fragment ()}\label{classDOM_1_1Document_a12}


Creates an empty {\tt  {\bf Document\-Fragment}{\rm (p.\,\pageref{classDOM_1_1DocumentFragment})} } object. 

\begin{Desc}
\item[Returns:]A new {\tt  {\bf Document\-Fragment}{\rm (p.\,\pageref{classDOM_1_1DocumentFragment})} } . \end{Desc}


Definition at line 251 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!createTextNode@{createTextNode}}
\index{createTextNode@{createTextNode}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Text} Document::create\-Text\-Node (const {\bf DOMString} \& {\em data})}\label{classDOM_1_1Document_a13}


Creates a {\tt  {\bf Text}{\rm (p.\,\pageref{classDOM_1_1Text})} } node given the specified string. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em data}]The data for the node.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new {\tt  {\bf Text}{\rm (p.\,\pageref{classDOM_1_1Text})} } object. \end{Desc}


Definition at line 257 of file dom\_\-doc.cpp.

References DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!createComment@{createComment}}
\index{createComment@{createComment}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Comment} Document::create\-Comment (const {\bf DOMString} \& {\em data})}\label{classDOM_1_1Document_a14}


Creates a {\tt  {\bf Comment}{\rm (p.\,\pageref{classDOM_1_1Comment})} } node given the specified string. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em data}]The data for the node.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new {\tt  {\bf Comment}{\rm (p.\,\pageref{classDOM_1_1Comment})} } object. \end{Desc}


Definition at line 263 of file dom\_\-doc.cpp.

References DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!createCDATASection@{createCDATASection}}
\index{createCDATASection@{createCDATASection}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CDATASection} Document::create\-CDATASection (const {\bf DOMString} \& {\em data})}\label{classDOM_1_1Document_a15}


Creates a {\tt  {\bf CDATASection}{\rm (p.\,\pageref{classDOM_1_1CDATASection})} } node whose value is the specified string. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em data}]The data for the {\tt  {\bf CDATASection}{\rm (p.\,\pageref{classDOM_1_1CDATASection})} } contents.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new {\tt  {\bf CDATASection}{\rm (p.\,\pageref{classDOM_1_1CDATASection})} } object.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NOT\_\-SUPPORTED\_\-ERR: Raised if this document is an HTML document. \end{description}
\end{Desc}


Definition at line 269 of file dom\_\-doc.cpp.

References DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!createProcessingInstruction@{createProcessingInstruction}}
\index{createProcessingInstruction@{createProcessingInstruction}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Processing\-Instruction} Document::create\-Processing\-Instruction (const {\bf DOMString} \& {\em target}, const {\bf DOMString} \& {\em data})}\label{classDOM_1_1Document_a16}


Creates a {\tt  {\bf Processing\-Instruction}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction})} } node given the specified name and data strings. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em target}]The target part of the processing instruction.\item[{\em data}]The data for the node.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new {\tt  {\bf Processing\-Instruction}{\rm (p.\,\pageref{classDOM_1_1ProcessingInstruction})} } object.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]INVALID\_\-CHARACTER\_\-ERR: Raised if an invalid character is specified.\end{description}
\end{Desc}
NOT\_\-SUPPORTED\_\-ERR: Raised if this document is an HTML document. 

Definition at line 276 of file dom\_\-doc.cpp.

References DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!createAttribute@{createAttribute}}
\index{createAttribute@{createAttribute}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Attr} Document::create\-Attribute (const {\bf DOMString} \& {\em name})}\label{classDOM_1_1Document_a17}


Creates an {\tt  {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} } of the given name. 

Note that the {\tt  {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} } instance can then be set on an {\tt  {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} } using the {\tt  set\-Attribute } method.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]The name of the attribute.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\tt  {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} } object.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]INVALID\_\-CHARACTER\_\-ERR: Raised if the specified name contains an invalid character. \end{description}
\end{Desc}


Definition at line 282 of file dom\_\-doc.cpp.

References create\-Attribute\-NS(), and KStd\-Accel::name().\index{DOM::Document@{DOM::Document}!createAttributeNS@{createAttributeNS}}
\index{createAttributeNS@{createAttributeNS}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Attr} Document::create\-Attribute\-NS (const {\bf DOMString} \& {\em namespace\-URI}, const {\bf DOMString} \& {\em qualified\-Name})}\label{classDOM_1_1Document_a18}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Creates an attribute of the given qualified name and namespace URI. 

HTML-only {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} implementations do not need to implement this method.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em namespace\-URI}]The namespace URI of the attribute to create.\item[{\em qualified\-Name}]The qualified name of the attribute to instantiate.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} object with the following attributes: {\bf Node.node\-Name}{\rm (p.\,\pageref{classDOM_1_1Node_a7})} - qualified\-Name {\bf Node.namespace\-URI}{\rm (p.\,\pageref{classDOM_1_1Node_a27})} - namespace\-URI {\bf Node.prefix}{\rm (p.\,\pageref{classDOM_1_1Node_a28})} - prefix, extracted from qualified\-Name, or null if there is no prefix {\bf Node.local\-Name}{\rm (p.\,\pageref{classDOM_1_1Node_a30})} - local name, extracted from qualified\-Name {\bf Attr.name}{\rm (p.\,\pageref{classDOM_1_1Attr_a6})} - qualified\-Name {\bf Node.node\-Value}{\rm (p.\,\pageref{classDOM_1_1Node_a8})} - the empty string\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em INVALID\_\-CHARACTER\_\-ERR}]Raised if the specified qualified name contains an illegal character.\item[{\em NAMESPACE\_\-ERR}]Raised if the qualified\-Name is malformed, if the qualified\-Name has a prefix and the namespace\-URI is null, if the qualified\-Name has a prefix that is \char`\"{}xml\char`\"{} and the namespace\-URI is different from \char`\"{}http://www.w3.org/XML/1998/namespace\char`\"{}, or if the qualified\-Name is \char`\"{}xmlns\char`\"{} and the namespace\-URI is different from \char`\"{}http://www.w3.org/2000/xmlns/\char`\"{}. \end{description}
\end{Desc}


Definition at line 287 of file dom\_\-doc.cpp.

References DOM::DOMString::copy(), DOM::DOMString::find(), DOM::Node::handle(), DOM::DOMString::implementation(), DOM::DOMString::is\-Null(), DOM::Node::local\-Name(), DOM::Node::prefix(), DOM::DOMString::remove(), and DOM::DOMString::truncate().

Referenced by create\-Attribute().\index{DOM::Document@{DOM::Document}!createEntityReference@{createEntityReference}}
\index{createEntityReference@{createEntityReference}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Entity\-Reference} Document::create\-Entity\-Reference (const {\bf DOMString} \& {\em name})}\label{classDOM_1_1Document_a19}


Creates an {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})} object. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em name}]The name of the entity to reference.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new {\tt  {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})} } object.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]INVALID\_\-CHARACTER\_\-ERR: Raised if the specified name contains an invalid character.\end{description}
\end{Desc}
NOT\_\-SUPPORTED\_\-ERR: Raised if this document is an HTML document. 

Definition at line 314 of file dom\_\-doc.cpp.

References KStd\-Accel::name().\index{DOM::Document@{DOM::Document}!getElementById@{getElementById}}
\index{getElementById@{getElementById}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Element} Document::get\-Element\-By\-Id (const {\bf DOMString} \& {\em element\-Id}) const}\label{classDOM_1_1Document_a20}


Moved from {\bf HTMLDocument}{\rm (p.\,\pageref{classDOM_1_1HTMLDocument})} in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 Returns the {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} whose {\tt  id } is given by element\-Id. 

If no such element exists, returns {\tt  null } . Behavior is not defined if more than one element has this {\tt  id } .

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em element\-Id}]The unique {\tt  id } value for an element.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The matching element. \end{Desc}


Definition at line 320 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!getElementsByTagName@{getElementsByTagName}}
\index{getElementsByTagName@{getElementsByTagName}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Node\-List} Document::get\-Elements\-By\-Tag\-Name (const {\bf DOMString} \& {\em tagname})}\label{classDOM_1_1Document_a21}


No Exceptions. 

Returns a {\tt  {\bf Node\-List}{\rm (p.\,\pageref{classDOM_1_1NodeList})} } of all the {\tt  {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} } s with a given tag name in the order in which they would be encountered in a preorder traversal of the {\tt  {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} } tree.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em tagname}]The name of the tag to match on. The special value \char`\"{}$\ast$\char`\"{} matches all tags.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\tt  {\bf Node\-List}{\rm (p.\,\pageref{classDOM_1_1NodeList})} } object containing all the matched {\tt  {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})} } s. \end{Desc}


Definition at line 326 of file dom\_\-doc.cpp.

References get\-Elements\-By\-Tag\-Name\-NS(), and DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!getElementsByTagNameNS@{getElementsByTagNameNS}}
\index{getElementsByTagNameNS@{getElementsByTagNameNS}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Node\-List} Document::get\-Elements\-By\-Tag\-Name\-NS (const {\bf DOMString} \& {\em namespace\-URI}, const {\bf DOMString} \& {\em local\-Name})}\label{classDOM_1_1Document_a22}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2 No Exceptions. 

Returns a {\bf Node\-List}{\rm (p.\,\pageref{classDOM_1_1NodeList})} of all the Elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of the {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} tree.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em namespace\-URI}]The namespace URI of the elements to match on. The special value \char`\"{}$\ast$\char`\"{} matches all namespaces.\item[{\em local\-Name}]The local name of the elements to match on. The special value \char`\"{}$\ast$\char`\"{} matches all local names.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]A new {\bf Node\-List}{\rm (p.\,\pageref{classDOM_1_1NodeList})} object containing all the matched Elements. \end{Desc}


Definition at line 333 of file dom\_\-doc.cpp.

References DOM::DOMString::implementation().

Referenced by get\-Elements\-By\-Tag\-Name().\index{DOM::Document@{DOM::Document}!importNode@{importNode}}
\index{importNode@{importNode}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Node} Document::import\-Node (const {\bf Node} \& {\em imported\-Node}, bool {\em deep})}\label{classDOM_1_1Document_a23}


Introduced in {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} Level 2. 

Imports a node from another document to this document. The returned node has no parent; (parent\-Node is null). The source node is not altered or removed from the original document; this method creates a new copy of the source node.

For all nodes, importing a node creates a node object owned by the importing document, with attribute values identical to the source node's node\-Name and node\-Type, plus the attributes related to namespaces (prefix, local\-Name, and namespace\-URI).

As in the clone\-Node operation on a {\bf Node}{\rm (p.\,\pageref{classDOM_1_1Node})}, the source node is not altered. Additional information is copied as appropriate to the node\-Type, attempting to mirror the behavior expected if a fragment of XML or HTML source was copied from one document to another, recognizing that the two documents may have different DTDs in the XML case. The following list describes the specifics for each type of node.

ATTRIBUTE\_\-NODE The owner\-Element attribute is set to null and the specified flag is set to true on the generated {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})}. The descendants of the source {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} are recursively imported and the resulting nodes reassembled to form the corresponding subtree. Note that the deep parameter has no effect on {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} nodes; they always carry their children with them when imported.

DOCUMENT\_\-FRAGMENT\_\-NODE If the deep option was set to true, the descendants of the source element are recursively imported and the resulting nodes reassembled to form the corresponding subtree. Otherwise, this simply generates an empty {\bf Document\-Fragment}{\rm (p.\,\pageref{classDOM_1_1DocumentFragment})}.

DOCUMENT\_\-NODE {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} nodes cannot be imported.

DOCUMENT\_\-TYPE\_\-NODE {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} nodes cannot be imported.

ELEMENT\_\-NODE Specified attribute nodes of the source element are imported, and the generated {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})} nodes are attached to the generated {\bf Element}{\rm (p.\,\pageref{classDOM_1_1Element})}. Default attributes are not copied, though if the document being imported into defines default attributes for this element name, those are assigned. If the import\-Node deep parameter was set to true, the descendants of the source element are recursively imported and the resulting nodes reassembled to form the corresponding subtree.

ENTITY\_\-NODE {\bf Entity}{\rm (p.\,\pageref{classDOM_1_1Entity})} nodes can be imported, however in the current release of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} the {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} is readonly. Ability to add these imported nodes to a {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} will be considered for addition to a future release of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})}. On import, the public\-Id, system\-Id, and notation\-Name attributes are copied. If a deep import is requested, the descendants of the the source {\bf Entity}{\rm (p.\,\pageref{classDOM_1_1Entity})} are recursively imported and the resulting nodes reassembled to form the corresponding subtree.

ENTITY\_\-REFERENCE\_\-NODE Only the {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})} itself is copied, even if a deep import is requested, since the source and destination documents might have defined the entity differently. If the document being imported into provides a definition for this entity name, its value is assigned.

NOTATION\_\-NODE {\bf Notation}{\rm (p.\,\pageref{classDOM_1_1Notation})} nodes can be imported, however in the current release of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} the {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} is readonly. Ability to add these imported nodes to a {\bf Document\-Type}{\rm (p.\,\pageref{classDOM_1_1DocumentType})} will be considered for addition to a future release of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})}. On import, the public\-Id and system\-Id attributes are copied. Note that the deep parameter has no effect on {\bf Notation}{\rm (p.\,\pageref{classDOM_1_1Notation})} nodes since they never have any children.

PROCESSING\_\-INSTRUCTION\_\-NODE The imported node copies its target and data values from those of the source node.

TEXT\_\-NODE, CDATA\_\-SECTION\_\-NODE, COMMENT\_\-NODE These three types of nodes inheriting from {\bf Character\-Data}{\rm (p.\,\pageref{classDOM_1_1CharacterData})} copy their data and length attributes from those of the source node.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em imported\-Node}]The node to import.\item[{\em deep}]If true, recursively import the subtree under the specified node; if false, import only the node itself, as explained above. This has no effect on {\bf Attr}{\rm (p.\,\pageref{classDOM_1_1Attr})}, {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})}, and {\bf Notation}{\rm (p.\,\pageref{classDOM_1_1Notation})} nodes.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The imported node that belongs to this {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})}.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NOT\_\-SUPPORTED\_\-ERR: Raised if the type of node being imported is not supported. \end{description}
\end{Desc}


Definition at line 340 of file dom\_\-doc.cpp.

References DOM::Node::handle().\index{DOM::Document@{DOM::Document}!createRange@{createRange}}
\index{createRange@{createRange}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Range Document::create\-Range ()}\label{classDOM_1_1Document_a25}


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

\begin{Desc}
\item[Returns:]Range The initial state of the Range returned from this method is such that both of its boundary-points are positioned at the beginning of the corresponding {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})}, before any content. The Range returned can only be used to select content associated with this {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})}, or with Document\-Fragments and Attrs for which this {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})} is the owner\-Document. \end{Desc}


Definition at line 358 of file dom\_\-doc.cpp.

Referenced by KHTMLPart::selection().\index{DOM::Document@{DOM::Document}!createNodeIterator@{createNodeIterator}}
\index{createNodeIterator@{createNodeIterator}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Node\-Iterator} Document::create\-Node\-Iterator ({\bf Node} {\em root}, unsigned long {\em what\-To\-Show}, {\bf Node\-Filter} {\em filter}, bool {\em entity\-Reference\-Expansion})}\label{classDOM_1_1Document_a26}


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

Create a new {\bf Node\-Iterator}{\rm (p.\,\pageref{classDOM_1_1NodeIterator})} over the subtree rooted at the specified node.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em root}]The node which will be iterated together with its children. The iterator is initially positioned just before this node. The what\-To\-Show flags and the filter, if any, are not considered when setting this position. The root must not be null.\item[{\em what\-To\-Show}]This flag specifies which node types may appear in the logical view of the tree presented by the iterator. See the description of {\bf Node\-Filter}{\rm (p.\,\pageref{classDOM_1_1NodeFilter})} for the set of possible SHOW\_\- values. These flags can be combined using OR.\item[{\em filter}]The {\bf Node\-Filter}{\rm (p.\,\pageref{classDOM_1_1NodeFilter})} to be used with this {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})}, or null to indicate no filter.\item[{\em entity\-Reference\-Expansion}]The value of this flag determines whether entity reference nodes are expanded.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]{\bf Node\-Iterator}{\rm (p.\,\pageref{classDOM_1_1NodeIterator})} The newly created {\bf Node\-Iterator}{\rm (p.\,\pageref{classDOM_1_1NodeIterator})}.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NOT\_\-SUPPORTED\_\-ERR: Raised if the specified root is null. \end{description}
\end{Desc}


Definition at line 364 of file dom\_\-doc.cpp.

References DOM::Node::handle().\index{DOM::Document@{DOM::Document}!createTreeWalker@{createTreeWalker}}
\index{createTreeWalker@{createTreeWalker}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Tree\-Walker} Document::create\-Tree\-Walker ({\bf Node} {\em root}, unsigned long {\em what\-To\-Show}, {\bf Node\-Filter} {\em filter}, bool {\em entity\-Reference\-Expansion})}\label{classDOM_1_1Document_a27}


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

Create a new {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})} over the subtree rooted at the specified node.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em root}]The node which will serve as the root for the {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})}. The what\-To\-Show flags and the {\bf Node\-Filter}{\rm (p.\,\pageref{classDOM_1_1NodeFilter})} are not considered when setting this value; any node type will be accepted as the root. The current\-Node of the {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})} is initialized to this node, whether or not it is visible. The root functions as a stopping point for traversal methods that look upward in the document structure, such as parent\-Node and next\-Node. The root must not be null.\item[{\em what\-To\-Show}]This flag specifies which node types may appear in the logical view of the tree presented by the tree-walker. See the description of {\bf Node\-Filter}{\rm (p.\,\pageref{classDOM_1_1NodeFilter})} for the set of possible SHOW\_\- values. These flags can be combined using OR.\item[{\em filter}]The {\bf Node\-Filter}{\rm (p.\,\pageref{classDOM_1_1NodeFilter})} to be used with this {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})}, or null to indicate no filter.\item[{\em entity\-Reference\-Expansion}]If this flag is false, the contents of {\bf Entity\-Reference}{\rm (p.\,\pageref{classDOM_1_1EntityReference})} nodes are not presented in the logical view.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The newly created {\bf Tree\-Walker}{\rm (p.\,\pageref{classDOM_1_1TreeWalker})}.\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NOT\_\-SUPPORTED\_\-ERR: Raised if the specified root is null. \end{description}
\end{Desc}


Definition at line 378 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!createEvent@{createEvent}}
\index{createEvent@{createEvent}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Event} Document::create\-Event (const {\bf DOMString} \& {\em event\-Type})}\label{classDOM_1_1Document_a28}


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

The create\-Event method is used in creating Events when it is either inconvenient or unnecessary for the user to create an {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} themselves. In cases where the implementation provided {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} is insufficient, users may supply their own {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} implementations for use with the dispatch\-Event method.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em event\-Type}]The event\-Type parameter specifies the type of {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} interface to be created. If the {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} interface specified is supported by the implementation this method will return a new {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} of the interface type requested. If the {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} is to be dispatched via the dispatch\-Event method the appropriate event init method must be called after creation in order to initialize the Event's values. As an example, a user wishing to synthesize some kind of {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} would call create\-Event with the parameter \char`\"{}UIEvents\char`\"{}. The init\-UIEvent method could then be called on the newly created {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} to set the specific type of {\bf UIEvent}{\rm (p.\,\pageref{classDOM_1_1UIEvent})} to be dispatched and set its context information.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The newly created Event\-Exceptions\end{Desc}
\begin{Desc}
\item[Exceptions:]
\begin{description}
\item[{\em DOMException}]NOT\_\-SUPPORTED\_\-ERR: Raised if the implementation does not support the type of {\bf Event}{\rm (p.\,\pageref{classDOM_1_1Event})} interface requested \end{description}
\end{Desc}


Definition at line 385 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!defaultView@{defaultView}}
\index{defaultView@{defaultView}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Abstract\-View} Document::default\-View () const}\label{classDOM_1_1Document_a29}


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

The default {\bf Abstract\-View}{\rm (p.\,\pageref{classDOM_1_1AbstractView})} for this {\bf Document}{\rm (p.\,\pageref{classDOM_1_1Document})}, or null if none available. 

Definition at line 397 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!styleSheets@{styleSheets}}
\index{styleSheets@{styleSheets}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Style\-Sheet\-List} Document::style\-Sheets () const}\label{classDOM_1_1Document_a30}


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

A list containing all the style sheets explicitly linked into or embedded in a document. For HTML documents, this includes external style sheets, included via the HTML LINK element, and inline STYLE elements. In XML, this includes external style sheets, included via style sheet processing instructions (see [XML-Style\-Sheet]). 

Definition at line 405 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!view@{view}}
\index{view@{view}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KHTMLView} $\ast$ Document::view () const}\label{classDOM_1_1Document_a31}


\begin{Desc}
\item[Returns:]The KHTML view widget of this document. \end{Desc}


Definition at line 414 of file dom\_\-doc.cpp.\index{DOM::Document@{DOM::Document}!getOverrideStyle@{getOverrideStyle}}
\index{getOverrideStyle@{getOverrideStyle}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf CSSStyle\-Declaration} Document::get\-Override\-Style (const {\bf Element} \& {\em elt}, const {\bf DOMString} \& {\em pseudo\-Elt})}\label{classDOM_1_1Document_a32}


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

This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em elt}]The element whose style is to be modified. This parameter cannot be null.\item[{\em pseudo\-Elt}]The pseudo-element or null if none.\end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The override style declaration. \end{Desc}


Definition at line 427 of file dom\_\-doc.cpp.

References DOM::Node::handle(), and DOM::DOMString::implementation().\index{DOM::Document@{DOM::Document}!completeURL@{completeURL}}
\index{completeURL@{completeURL}!DOM::Document@{DOM::Document}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf DOMString} Document::complete\-URL (const {\bf DOMString} \& {\em url})}\label{classDOM_1_1Document_a33}


not part of the {\bf DOM}{\rm (p.\,\pageref{namespaceDOM})} 

completes a given URL 

Definition at line 421 of file dom\_\-doc.cpp.

References DOM::DOMString::string().

Referenced by DOM::HTMLImage\-Element::src(), and DOM::HTMLInput\-Element::src().

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