Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > b77dda48f87d4eda8cc559e40c49a652 > files > 622

python-kde4-doc-4.4.5-0.2mdv2010.2.i586.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
  <title>DOM.Document</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <link rel="stylesheet" type="text/css" href="../common/doxygen.css" />
  <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../common/kde.css" />
</head>
<body>
<div id="container">
<div id="header">
  <div id="header_top">
    <div>
      <div>
        <img alt ="" src="../common/top-kde.jpg"/>
        KDE 4.4 PyKDE API Reference
      </div>
    </div>
  </div>
  <div id="header_bottom">
    <div id="location">
      <ul>
        <li>KDE's Python API</li>
      </ul>
    </div>

    <div id="menu">
      <ul>
        <li><a href="../modules.html">Overview</a></li>
<li><a href="http://techbase.kde.org/Development/Languages/Python">PyKDE Home</a></li>
<li><a href="http://kde.org/family/">Sitemap</a></li>
<li><a href="http://kde.org/contact/">Contact Us</a></li>
</ul>
    </div>
  </div>
</div>

<div id="body_wrapper">
<div id="body">
<div id="right">
<div class="content">
<div id="main">
<div class="clearer">&nbsp;</div>

<h1>Document Class Reference</h1>
<code>from PyKDE4.khtml import *</code>
<p>
Inherits: DOM.Node<br />
Subclasses: <a href="../khtml/DOM.HTMLDocument.html">DOM.HTMLDocument</a><br />
Namespace: DOM.Document<br />
<h2>Detailed Description</h2>

<p>The Document 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.
</p>
<p>
Since elements, text nodes, comments, processing instructions,
etc. cannot exist outside the context of a Document
, the Document interface also contains the factory
methods needed to create these objects. The Node
objects created have a ownerDocument attribute which
associates them with the Document within whose
context they were created.
</p>
<table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><br><h2>Methods</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#Document">__init__</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#Document">__init__</a> (self, bool a0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#Document">__init__</a> (self, <a href="../khtml/DOM.Document.html">DOM.Document</a> other)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#Document">__init__</a> (self, <a href="../khtml/DOM.Node.html">DOM.Node</a> other)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abort">abort</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#addStyleSheet">addStyleSheet</a> (self, <a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a> sheet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#async">async</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#completeURL">completeURL</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> url)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Attr.html">DOM.Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createAttribute">createAttribute</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> name)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Attr.html">DOM.Attr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createAttributeNS">createAttributeNS</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> namespaceURI, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> qualifiedName)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.CDATASection.html">DOM.CDATASection</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createCDATASection">createCDATASection</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Comment.html">DOM.Comment</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createComment">createComment</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DocumentFragment.html">DOM.DocumentFragment</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createDocumentFragment">createDocumentFragment</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Element.html">DOM.Element</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createElement">createElement</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> tagName)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Element.html">DOM.Element</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createElementNS">createElementNS</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> namespaceURI, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> qualifiedName)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.EntityReference.html">DOM.EntityReference</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createEntityReference">createEntityReference</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> name)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Event.html">DOM.Event</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createEvent">createEvent</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> eventType)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.NodeIterator.html">DOM.NodeIterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createNodeIterator">createNodeIterator</a> (self, <a href="../khtml/DOM.Node.html">DOM.Node</a> root, long whatToShow, <a href="../khtml/DOM.NodeFilter.html">DOM.NodeFilter</a> filter, bool entityReferenceExpansion)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.ProcessingInstruction.html">DOM.ProcessingInstruction</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createProcessingInstruction">createProcessingInstruction</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> target, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Range.html">DOM.Range</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createRange">createRange</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Text.html">DOM.Text</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createTextNode">createTextNode</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> data)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.TreeWalker.html">DOM.TreeWalker</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#createTreeWalker">createTreeWalker</a> (self, <a href="../khtml/DOM.Node.html">DOM.Node</a> root, long whatToShow, <a href="../khtml/DOM.NodeFilter.html">DOM.NodeFilter</a> filter, bool entityReferenceExpansion)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.AbstractView.html">DOM.AbstractView</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#defaultView">defaultView</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#designMode">designMode</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DocumentType.html">DOM.DocumentType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#doctype">doctype</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Element.html">DOM.Element</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#documentElement">documentElement</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#execCommand">execCommand</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command, bool userInterface, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> value)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Element.html">DOM.Element</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#getElementById">getElementById</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> elementId)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#getElementsByClassName">getElementsByClassName</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> className)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#getElementsByTagName">getElementsByTagName</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> tagname)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#getElementsByTagNameNS">getElementsByTagNameNS</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> namespaceURI, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> localName)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.CSSStyleDeclaration.html">DOM.CSSStyleDeclaration</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#getOverrideStyle">getOverrideStyle</a> (self, <a href="../khtml/DOM.Element.html">DOM.Element</a> elt, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> pseudoElt)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMImplementation.html">DOM.DOMImplementation</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#implementation">implementation</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.Node.html">DOM.Node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#importNode">importNode</a> (self, <a href="../khtml/DOM.Node.html">DOM.Node</a> importedNode, bool deep)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#isHTMLDocument">isHTMLDocument</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#load">load</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> uri)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#loadXML">loadXML</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> source)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#preferredStylesheetSet">preferredStylesheetSet</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#queryCommandEnabled">queryCommandEnabled</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#queryCommandIndeterm">queryCommandIndeterm</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#queryCommandState">queryCommandState</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#queryCommandSupported">queryCommandSupported</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#queryCommandValue">queryCommandValue</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> command)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#removeStyleSheet">removeStyleSheet</a> (self, <a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a> sheet)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#selectedStylesheetSet">selectedStylesheetSet</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#setAsync">setAsync</a> (self, bool a0)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#setDesignMode">setDesignMode</a> (self, bool enable)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#setSelectedStylesheetSet">setSelectedStylesheetSet</a> (self, <a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> aString)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.StyleSheetList.html">DOM.StyleSheetList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#styleSheets">styleSheets</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#toString">toString</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#updateRendering">updateRendering</a> (self)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../khtml/KHTMLView.html">KHTMLView</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#view">view</a> (self)</td></tr>
</table>
<hr><h2>Method Documentation</h2><a class="anchor" name="Document"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">__init__</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>don't create an implementation if false
use at own risk
</p></div></div><a class="anchor" name="Document"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">__init__</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>a0</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>don't create an implementation if false
use at own risk
</p></div></div><a class="anchor" name="Document"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">__init__</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Document.html">DOM.Document</a>&nbsp;</td>
<td class="paramname"><em>other</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="Document"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">__init__</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Node.html">DOM.Node</a>&nbsp;</td>
<td class="paramname"><em>other</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="abort"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> abort</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 3
This method is from the DocumentLS interface
</p>
<p>
If the document is currently being loaded as a result of the method load
being invoked the loading and parsing is immediately aborted. The
possibly partial result of parsing the document is discarded and the
document is cleared.
</p></div></div><a class="anchor" name="addStyleSheet"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> addStyleSheet</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a>&nbsp;</td>
<td class="paramname"><em>sheet</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Adds a new style sheet to the list of style sheets.
</p>
<p>
The new style sheet will be applied after all author and implicit
style sheets, but before the user style sheet.
</p>
<p>
Create new style sheets with e. g.
DOMImplementation.createCSSStyleSheet
</p>
<p>
This is not part of the official DOM.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>sheet</em>&nbsp;</td><td> style sheet
</td></tr> </table></dl>
<p> DOMException
</p></div></div><a class="anchor" name="async"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool async</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 3
This method is from the DocumentLS interface
</p>
<p>
Indicates whether the method DocumentLS.load() should be synchronous or
asynchronous. When the async attribute is set to true the load method
returns control to the caller before the document has completed loading.
The default value of this attribute is true.
</p></div></div><a class="anchor" name="completeURL"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> completeURL</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>url</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>not part of the DOM
</p>
<p>
completes a given URL
</p></div></div><a class="anchor" name="createAttribute"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Attr.html">DOM.Attr</a> createAttribute</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>name</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates an Attr of the given name. Note that the
Attr instance can then be set on an Element
using the setAttribute method.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>name</em>&nbsp;</td><td> The name of the attribute.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new Attr object.
</dd></dl> </p>
<p>
DOMException
INVALID_CHARACTER_ERR: Raised if the specified name contains an
invalid character.
</p></div></div><a class="anchor" name="createAttributeNS"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Attr.html">DOM.Attr</a> createAttributeNS</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>qualifiedName</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
Creates an attribute of the given qualified name and namespace URI.
HTML-only DOM implementations do not need to implement this method.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td> The namespace URI of the attribute to create.
</td></tr>

<tr><td></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td> The qualified name of the attribute to instantiate.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new Attr object with the following attributes:
Node.nodeName - qualifiedName
Node.namespaceURI - namespaceURI
Node.prefix - prefix, extracted from qualifiedName, or null if there is
no prefix
Node.localName - local name, extracted from qualifiedName
Attr.name - qualifiedName
Node.nodeValue - the empty string
</dd></dl> </p>
<p>
INVALID_CHARACTER_ERR Raised if the specified qualified name
contains an illegal character.
</p>
<p>
NAMESPACE_ERR Raised if the qualifiedName is malformed, if
the qualifiedName has a prefix and the namespaceURI is null, if the
qualifiedName has a prefix that is "xml" and the namespaceURI is
different from "http://www.w3.org/XML/1998/namespace", or if the
qualifiedName is "xmlns" and the namespaceURI is different from
"http://www.w3.org/2000/xmlns/".
</p></div></div><a class="anchor" name="createCDATASection"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.CDATASection.html">DOM.CDATASection</a> createCDATASection</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>data</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates a CDATASection node whose value is the
specified string.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>data</em>&nbsp;</td><td> The data for the CDATASection
contents.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The new CDATASection object.
</dd></dl> </p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if this document is an HTML document.
</p></div></div><a class="anchor" name="createComment"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Comment.html">DOM.Comment</a> createComment</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>data</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates a Comment node given the specified
string.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>data</em>&nbsp;</td><td> The data for the node.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The new Comment object.
</dd></dl>
</p></div></div><a class="anchor" name="createDocumentFragment"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DocumentFragment.html">DOM.DocumentFragment</a> createDocumentFragment</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Creates an empty DocumentFragment object.
</p>
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd> A new DocumentFragment .
</dd></dl>
</p></div></div><a class="anchor" name="createElement"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Element.html">DOM.Element</a> createElement</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>tagName</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates an element of the type specified. Note that the
instance returned implements the Element interface, so
attributes can be specified directly on the returned object.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>tagName</em>&nbsp;</td><td> The name of the element type to instantiate. For
XML, this is case-sensitive. For HTML, the tagName
parameter may be provided in any case, but it must be
mapped to the canonical uppercase form by the DOM
implementation.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new Element object.
</dd></dl> </p>
<p>
DOMException
INVALID_CHARACTER_ERR: Raised if the specified name contains an
invalid character.
</p></div></div><a class="anchor" name="createElementNS"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Element.html">DOM.Element</a> createElementNS</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>qualifiedName</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
Creates an element of the given qualified name and namespace URI.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td> The namespace URI of the element to create.
</td></tr>

<tr><td></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td> The qualified name of the element type to instantiate.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new Element object with the following attributes:
</dd></dl> </p>
<p>
INVALID_CHARACTER_ERR Raised if the specified qualified name
contains an illegal character.
</p>
<p>
NAMESPACE_ERR Raised if the qualifiedName is malformed, if
the qualifiedName has a prefix and the namespaceURI is null, or if the
qualifiedName has a prefix that is "xml" and the namespaceURI is
different from "http://www.w3.org/XML/1998/namespace"
</p></div></div><a class="anchor" name="createEntityReference"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.EntityReference.html">DOM.EntityReference</a> createEntityReference</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>name</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates an EntityReference object.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>name</em>&nbsp;</td><td> The name of the entity to reference.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The new EntityReference object.
</dd></dl> </p>
<p>
DOMException
INVALID_CHARACTER_ERR: Raised if the specified name contains an
invalid character.
</p>
<p>
NOT_SUPPORTED_ERR: Raised if this document is an HTML
document.
</p></div></div><a class="anchor" name="createEvent"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Event.html">DOM.Event</a> createEvent</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>eventType</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentEvent interface
</p>
<p>
The createEvent method is used in creating Events when it is either
inconvenient or unnecessary for the user to create an Event themselves.
In cases where the implementation provided Event is insufficient, users
may supply their own Event implementations for use with the
dispatchEvent method.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>eventType</em>&nbsp;</td><td> The eventType parameter specifies the type of Event
interface to be created. If the Event interface specified is supported
by the implementation this method will return a new Event of the
interface type requested. If the Event is to be dispatched via the
dispatchEvent 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 UIEvent would call createEvent
with the parameter "UIEvents". The initUIEvent method could then be
called on the newly created UIEvent to set the specific type of UIEvent
to be dispatched and set its context information.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The newly created EventExceptions
</dd></dl> </p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if the implementation does not support the
type of Event interface requested
</p></div></div><a class="anchor" name="createNodeIterator"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.NodeIterator.html">DOM.NodeIterator</a> createNodeIterator</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Node.html">DOM.Node</a>&nbsp;</td>
<td class="paramname"><em>root</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">long&nbsp;</td>
<td class="paramname"><em>whatToShow</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.NodeFilter.html">DOM.NodeFilter</a>&nbsp;</td>
<td class="paramname"><em>filter</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>entityReferenceExpansion</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentTraversal interface
</p>
<p>
Create a new NodeIterator over the subtree rooted at the specified node.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>root</em>&nbsp;</td><td> The node which will be iterated together with its children.
The iterator is initially positioned just before this node. The
whatToShow flags and the filter, if any, are not considered when setting
this position. The root must not be null.
</td></tr>

<tr><td></td><td valign="top"><em>whatToShow</em>&nbsp;</td><td> This flag specifies which node types may appear in the
logical view of the tree presented by the iterator. See the description
of NodeFilter for the set of possible SHOW_ values. These flags can be
combined using OR.
</td></tr>

<tr><td></td><td valign="top"><em>filter</em>&nbsp;</td><td> The NodeFilter to be used with this NodeIterator, or null to
indicate no filter.
</td></tr>

<tr><td></td><td valign="top"><em>entityReferenceExpansion</em>&nbsp;</td><td> The value of this flag determines
whether entity reference nodes are expanded.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> NodeIterator The newly created NodeIterator.
</dd></dl> </p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if the specified root is null.
</p></div></div><a class="anchor" name="createProcessingInstruction"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.ProcessingInstruction.html">DOM.ProcessingInstruction</a> createProcessingInstruction</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>target</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>data</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates a ProcessingInstruction node given the
specified name and data strings.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>target</em>&nbsp;</td><td> The target part of the processing instruction.
</td></tr>

<tr><td></td><td valign="top"><em>data</em>&nbsp;</td><td> The data for the node.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The new ProcessingInstruction object.
</dd></dl> </p>
<p>
DOMException
INVALID_CHARACTER_ERR: Raised if an invalid character is
specified.
</p>
<p>
NOT_SUPPORTED_ERR: Raised if this document is an HTML
document.
</p></div></div><a class="anchor" name="createRange"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Range.html">DOM.Range</a> createRange</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentRange interface
</p>
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd> 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 Document, before any content. The Range returned can only
be used to select content associated with this Document, or with
DocumentFragments and Attrs for which this Document is the ownerDocument.
</dd></dl>
</p></div></div><a class="anchor" name="createTextNode"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Text.html">DOM.Text</a> createTextNode</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>data</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Creates a Text node given the specified string.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>data</em>&nbsp;</td><td> The data for the node.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The new Text object.
</dd></dl>
</p></div></div><a class="anchor" name="createTreeWalker"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.TreeWalker.html">DOM.TreeWalker</a> createTreeWalker</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Node.html">DOM.Node</a>&nbsp;</td>
<td class="paramname"><em>root</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">long&nbsp;</td>
<td class="paramname"><em>whatToShow</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.NodeFilter.html">DOM.NodeFilter</a>&nbsp;</td>
<td class="paramname"><em>filter</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>entityReferenceExpansion</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentTraversal interface
</p>
<p>
Create a new TreeWalker over the subtree rooted at the specified node.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>root</em>&nbsp;</td><td> The node which will serve as the root for the TreeWalker.
The whatToShow flags and the NodeFilter are not considered when setting
this value; any node type will be accepted as the root. The currentNode
of the TreeWalker 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 parentNode and
nextNode. The root must not be null.
</td></tr>

<tr><td></td><td valign="top"><em>whatToShow</em>&nbsp;</td><td> This flag specifies which node types may appear in the
logical view of the tree presented by the tree-walker. See the
description of NodeFilter for the set of possible SHOW_ values. These
flags can be combined using OR.
</td></tr>

<tr><td></td><td valign="top"><em>filter</em>&nbsp;</td><td> The NodeFilter to be used with this TreeWalker, or null to
indicate no filter.
</td></tr>

<tr><td></td><td valign="top"><em>entityReferenceExpansion</em>&nbsp;</td><td> If this flag is false, the contents of
EntityReference nodes are not presented in the logical view.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The newly created TreeWalker.
</dd></dl> </p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if the specified root is null.
</p></div></div><a class="anchor" name="defaultView"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.AbstractView.html">DOM.AbstractView</a> defaultView</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentView interface
</p>
<p>
The default AbstractView for this Document, or null if none available.
</p></div></div><a class="anchor" name="designMode"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool designMode</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>not part of the official DOM
</p>
<p>
Documents are read-only by default, but they can be made editable by
entering "design mode".
</p>
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd> whether this document is in design mode.
</dd></dl>
</p></div></div><a class="anchor" name="doctype"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DocumentType.html">DOM.DocumentType</a> doctype</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>The Document Type Declaration (see DocumentType
) associated with this document. For HTML documents as well as
XML documents without a document type declaration this returns
null . The DOM Level 1 does not support editing
the Document Type Declaration, therefore docType
cannot be altered in any way.
</p></div></div><a class="anchor" name="documentElement"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Element.html">DOM.Element</a> documentElement</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>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 tagName "HTML".
</p></div></div><a class="anchor" name="execCommand"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool execCommand</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>userInterface</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>value</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>not part of the DOM
</p>
<p>
javascript editing command support
</p></div></div><a class="anchor" name="getElementById"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Element.html">DOM.Element</a> getElementById</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>elementId</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Moved from HTMLDocument in DOM Level 2
Returns the Element whose id is given by
elementId. If no such element exists, returns null
. Behavior is not defined if more than one element has
this id .
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>elementId</em>&nbsp;</td><td> The unique id value for an
element.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The matching element.
</dd></dl>
</p></div></div><a class="anchor" name="getElementsByClassName"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a> getElementsByClassName</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>className</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in HTML 5.
No Exceptions.
</p>
<p>
Returns a NodeList of all the Element 's
with a given class name in the order in which they
would be encountered in a preorder traversal of the
Document tree.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>tagname</em>&nbsp;</td><td> An unordered set of unique space-separated
tokens representing classes.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new NodeList object containing all the
matched Element s.
</dd></dl> </p>
<p>
<dl class="since" compact><dt><b>Since:</b></dt><dd> 4.1
</dd></dl>
</p></div></div><a class="anchor" name="getElementsByTagName"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a> getElementsByTagName</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>tagname</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>No Exceptions.
</p>
<p>
Returns a NodeList of all the Element 's
with a given tag name in the order in which they
would be encountered in a preorder traversal of the
Document tree.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>tagname</em>&nbsp;</td><td> The name of the tag to match on. The special
value "*" matches all tags.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new NodeList object containing all the
matched Element s.
</dd></dl>
</p></div></div><a class="anchor" name="getElementsByTagNameNS"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.NodeList.html">DOM.NodeList</a> getElementsByTagNameNS</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>namespaceURI</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>localName</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
No Exceptions
</p>
<p>
Returns a NodeList 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 Document tree.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td> The namespace URI of the elements to match on. The
special value "*" matches all namespaces.
</td></tr>

<tr><td></td><td valign="top"><em>localName</em>&nbsp;</td><td> The local name of the elements to match on. The special
value "*" matches all local names.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> A new NodeList object containing all the matched Elements.
</dd></dl>
</p></div></div><a class="anchor" name="getOverrideStyle"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.CSSStyleDeclaration.html">DOM.CSSStyleDeclaration</a> getOverrideStyle</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Element.html">DOM.Element</a>&nbsp;</td>
<td class="paramname"><em>elt</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>pseudoElt</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentCSS interface
</p>
<p>
This method is used to retrieve the override style declaration for a
specified element and a specified pseudo-element.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>elt</em>&nbsp;</td><td> The element whose style is to be modified. This parameter
cannot be null.
</td></tr>

<tr><td></td><td valign="top"><em>pseudoElt</em>&nbsp;</td><td> The pseudo-element or null if none.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The override style declaration.
</dd></dl>
</p></div></div><a class="anchor" name="implementation"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMImplementation.html">DOM.DOMImplementation</a> implementation</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>The DOMImplementation object that handles this
document. A DOM application may use objects from multiple
implementations.
</p></div></div><a class="anchor" name="importNode"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.Node.html">DOM.Node</a> importNode</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.Node.html">DOM.Node</a>&nbsp;</td>
<td class="paramname"><em>importedNode</em>, </td>
</tr>
<tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>deep</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
</p>
<p>
Imports a node from another document to this document. The returned node
has no parent; (parentNode is null). The source node is not altered or
removed from the original document; this method creates a new copy of
the source node.
</p>
<p>
For all nodes, importing a node creates a node object owned by the
importing document, with attribute values identical to the source node's
nodeName and nodeType, plus the attributes related to namespaces
(prefix, localName, and namespaceURI).
</p>
<p>
As in the cloneNode operation on a Node, the source node is not altered.
Additional information is copied as appropriate to the nodeType,
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.
</p>
<p>
ATTRIBUTE_NODE
The ownerElement attribute is set to null and the specified flag is set
to true on the generated Attr. The descendants of the source Attr are
recursively imported and the resulting nodes reassembled to form the
corresponding subtree. Note that the deep parameter has no effect on
Attr nodes; they always carry their children with them when imported.
</p>
<p>
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 DocumentFragment.
</p>
<p>
DOCUMENT_NODE
Document nodes cannot be imported.
</p>
<p>
DOCUMENT_TYPE_NODE
DocumentType nodes cannot be imported.
</p>
<p>
ELEMENT_NODE
Specified attribute nodes of the source element are imported, and the
generated Attr nodes are attached to the generated Element. Default
attributes are not copied, though if the document being imported into
defines default attributes for this element name, those are assigned. If
the importNode 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.
</p>
<p>
ENTITY_NODE
Entity nodes can be imported, however in the current release of the DOM
the DocumentType is readonly. Ability to add these imported nodes to a
DocumentType will be considered for addition to a future release of the
DOM.
On import, the publicId, systemId, and notationName attributes are
copied. If a deep import is requested, the descendants of the source
Entity are recursively imported and the resulting nodes reassembled to
form the corresponding subtree.
</p>
<p>
ENTITY_REFERENCE_NODE Only the EntityReference 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.
</p>
<p>
NOTATION_NODE
Notation nodes can be imported, however in the current release of the
DOM the DocumentType is readonly. Ability to add these imported nodes to
a DocumentType will be considered for addition to a future release of
the DOM.
On import, the publicId and systemId attributes are copied.
Note that the deep parameter has no effect on Notation nodes since they
never have any children.
</p>
<p>
PROCESSING_INSTRUCTION_NODE
The imported node copies its target and data values from those of the
source node.
</p>
<p>
TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE
These three types of nodes inheriting from CharacterData copy their data
and length attributes from those of the source node.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>importedNode</em>&nbsp;</td><td> The node to import.
</td></tr>

<tr><td></td><td valign="top"><em>deep</em>&nbsp;</td><td> 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 Attr, EntityReference, and Notation nodes.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> The imported node that belongs to this Document.
</dd></dl> </p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if the type of node being imported is not
supported.
</p></div></div><a class="anchor" name="isHTMLDocument"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool isHTMLDocument</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p><dl class="internal" compact><dt><b>Internal:</b></dt><dd>
not part of the DOM
</dd></dl>
</p></div></div><a class="anchor" name="load"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> load</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>uri</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 3
This method is from the DocumentLS interface
</p>
<p>
Replaces the content of the document with the result of parsing the
given URI. Invoking this method will either block the caller or return
to the caller immediately depending on the value of the async attribute.
Once the document is fully loaded a "load" event (as defined in
[DOM Level 3 Events], except that the Event.targetNode will be the
document, not an element) will be dispatched on the document. If an
error occurs, an implementation dependent "error" event will be
dispatched on the document. If this method is called on a document that
is currently loading, the current load is interrupted and the new URI
load is initiated.
</p>
<p>
When invoking this method the parameters used in the DOMParser interface
are assumed to have their default values with the exception that the
parameters "entities", "normalize-characters",
"check-character-normalization" are set to "false".
</p>
<p>
The result of a call to this method is the same the result of a call to
DOMParser.parseWithContext with an input stream referencing the URI that
was passed to this call, the document as the context node, and the
action ACTION_REPLACE_CHILDREN.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>uri</em>&nbsp;</td><td> of type DOMString
The URI reference for the XML file to be loaded. If this is a relative
URI, the base URI used by the implementation is implementation dependent.
</td></tr>
</table></dl>
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> If async is set to true load returns true if the document load
was successfully initiated. If an error occurred when initiating the
document load, load returns false.
If async is set to false load returns true if the document was
successfully loaded and parsed. If an error occurred when either loading
or parsing the URI, load returns false.
</dd></dl>
</p></div></div><a class="anchor" name="loadXML"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> loadXML</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>source</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 3
This method is from the DocumentLS interface
</p>
<p>
Replace the content of the document with the result of parsing the input
string, this method is always synchronous. This method always parses
from a DOMString, which means the data is always UTF-16. All other
encoding information is ignored.
</p>
<p>
The parameters used in the DOMParser interface are assumed to have their
default values when invoking this method.
</p>
<p>
The result of a call to this method is the same as the result of a call
to DOMParser.parseWithContext with an input stream containing the string
passed to this call, the document as the context node, and the action
ACTION_REPLACE_CHILDREN.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>source</em>&nbsp;</td><td> A string containing an XML document.
</td></tr>
</table></dl>
<p>
</p></div></div><a class="anchor" name="preferredStylesheetSet"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> preferredStylesheetSet</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>CSS3 mechanism for selecting alternate stylesheets using the DOM.
Might change without further notice.
</p></div></div><a class="anchor" name="queryCommandEnabled"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool queryCommandEnabled</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="queryCommandIndeterm"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool queryCommandIndeterm</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="queryCommandState"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool queryCommandState</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="queryCommandSupported"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname">bool queryCommandSupported</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="queryCommandValue"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> queryCommandValue</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>command</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="removeStyleSheet"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> removeStyleSheet</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.StyleSheet.html">DOM.StyleSheet</a>&nbsp;</td>
<td class="paramname"><em>sheet</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Removes a style sheet to the list of style sheets.
</p>
<p>
Only sheets added by addStyleSheet may be removed.
</p>
<p>
This is not part of the official DOM.
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>sheet</em>&nbsp;</td><td> style sheet to remove
</td></tr> </table></dl>
<p> DOMException
NOT_FOUND_ERR sheet is not contained in the list of style sheets or
it has not been added by addStyleSheet
</p></div></div><a class="anchor" name="selectedStylesheetSet"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> selectedStylesheetSet</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="setAsync"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> setAsync</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>a0</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 3
This method is from the DocumentLS interface
</p>
<p>
see async
</p>
<p>
DOMException
NOT_SUPPORTED_ERR: Raised if the implementation doesn't support the mode
the attribute is being set to.
</p></div></div><a class="anchor" name="setDesignMode"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> setDesignMode</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"><em>enable</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"><p>not part of the official DOM
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>enable</em>&nbsp;</td><td> <b>true</b> to enable design mode, <b>false</b> to disable.
</td></tr> </table></dl>
<p> <dl class="see" compact><dt><b>See also:</b></dt><dd> designMode
</dd></dl>
</p></div></div><a class="anchor" name="setSelectedStylesheetSet"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> setSelectedStylesheetSet</td>
<td>(</td>
<td class="paramtype">&nbsp;<em>self</em>, </td>
<td class="paramname"></td>
</tr><tr>
<td class="memname"></td>
<td></td>
<td class="paramtype"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a>&nbsp;</td>
<td class="paramname"><em>aString</em></td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td>
<td></td>
<td width="100%"> </td>
</tr></table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="styleSheets"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.StyleSheetList.html">DOM.StyleSheetList</a> styleSheets</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>Introduced in DOM Level 2
This method is from the DocumentStyle interface
</p>
<p>
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-StyleSheet]).
</p></div></div><a class="anchor" name="toString"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/DOM.DOMString.html">DOM.DOMString</a> toString</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"></div></div><a class="anchor" name="updateRendering"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"> updateRendering</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p>not part of the DOM
</p>
<p>
Updates the rendered display after one or more changes to
the DOM structure
</p></div></div><a class="anchor" name="view"></a>
<div class="memitem">
<div class="memproto">
<table class="memname"><tr>
<td class="memname"><a href="../khtml/KHTMLView.html">KHTMLView</a> view</td>
<td>(</td>
<td class="paramtype">&nbsp;</td>
<td class="paramname"><em>self</em>&nbsp;)</td>
<td width="100%"> </td>
</tr>
</table>
</div>
<div class="memdoc"><p><dl class="return" compact><dt><b>Returns:</b></dt><dd> The KHTML view widget of this document.
</dd></dl>
</p></div></div>
</div>
</div>
</div>

<div id="left">

<div class="menu_box">
<div class="nav_list">
<ul>
<li><a href="../allclasses.html">Full Index</a></li>
</ul>
</div>

<a name="cp-menu" /><div class="menutitle"><div>
  <h2 id="cp-menu-project">Modules</h2>
</div></div>
<div class="nav_list">
<ul><li><a href="../akonadi/index.html">akonadi</a></li>
<li><a href="../dnssd/index.html">dnssd</a></li>
<li><a href="../kdecore/index.html">kdecore</a></li>
<li><a href="../kdeui/index.html">kdeui</a></li>
<li><a href="../khtml/index.html">khtml</a></li>
<li><a href="../kio/index.html">kio</a></li>
<li><a href="../knewstuff/index.html">knewstuff</a></li>
<li><a href="../kparts/index.html">kparts</a></li>
<li><a href="../kutils/index.html">kutils</a></li>
<li><a href="../nepomuk/index.html">nepomuk</a></li>
<li><a href="../phonon/index.html">phonon</a></li>
<li><a href="../plasma/index.html">plasma</a></li>
<li><a href="../polkitqt/index.html">polkitqt</a></li>
<li><a href="../solid/index.html">solid</a></li>
<li><a href="../soprano/index.html">soprano</a></li>
</ul></div></div>

</div>

</div>
  <div class="clearer"/>
</div>

<div id="end_body"></div>
</div>
<div id="footer"><div id="footer_text">
This documentation is maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;simon&#64;simonzone&#46;com">Simon Edwards</a>.<br />
        KDE<sup>&#174;</sup> and <a href="../images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
        <a href="http://www.kde.org/contact/impressum.php">Legal</a>
    </div></div>
</body>
</html>