[This is preliminary documentation and is subject to change.]
The Document type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Document |
Document constructor.
|
Methods
| Name | Description | |
|---|---|---|
| AppendChild |
Appends a new child node.
(Inherited from Node.) | |
| CloneNode |
Clones this node.
(Inherited from Node.) | |
| CreateAttribute |
Creates an attribute node with the specified name.
| |
| CreateAttributeNS |
Cretaes an attribute node with the specified name and namespace.
| |
| CreateCDATASection |
Creates a CDATA section node with the specified data.
| |
| CreateComment |
Creates a comment node with the specified data.
| |
| CreateDocumentFragment |
Creates an empty document fragment object.
| |
| CreateElement |
Creates a DOM Element with the specified tag name.
| |
| CreateElementNS |
Creates a DOM Element with the specified namespace and name.
| |
| CreateEntityReference |
Creates an entity reference object with the specified name.
| |
| CreateProcessingInstruction |
Creates a processing instruction object with the specified target and data.
| |
| CreateTextNode |
Creates a text node containing the specified textual data.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetElementById |
Returns the first element with the specified id.
| |
| GetElementsByTagName |
Returns a collection containing all elements with the specified name.
| |
| GetElementsByTagNameNS |
Returns a collection containing all elements with the specified namespace and name.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetWebKitObject |
Gets the underlying WebKit IDOMNode object.
(Inherited from Node.) | |
| ImportNode |
Imports a node from another document to this document.
| |
| InsertBefore |
Inserts a new node before an existing child node.
(Inherited from Node.) | |
| InvokeScriptMethod |
Invokes a method in the scripting environment.
| |
| IsEqualNode |
Checks if a node is equal to this one.
(Inherited from Node.) | |
| IsSameNode |
Checks if a node is the same as this one.
(Inherited from Node.) | |
| IsSupported |
Checks whether a specified feature is supported on this node.
(Inherited from Node.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveChild |
Removes a child node.
(Inherited from Node.) | |
| ReplaceChild |
Replaces a child node with a new node.
(Inherited from Node.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| ChildNodes |
Gets a collection containing this node's children.
(Inherited from Node.) | |
| DocType |
Gets the Document Type Declaration associated with the document.
| |
| FirstChild |
Gets the first child of this node.
(Inherited from Node.) | |
| HasAttributes |
Gets a value indicating whether this node has any attributes.
(Inherited from Node.) | |
| HasChildNodes |
Gets a value indicating whether this node has any children.
(Inherited from Node.) | |
| Implementation |
Gets the DOM Implementation object that handles this document.
| |
| LastChild |
Gets the last child of this node.
(Inherited from Node.) | |
| LocalName |
Gets the local part of the name of a node.
(Inherited from Node.) | |
| NamespaceURI |
Gets the namespace URI of this node.
(Inherited from Node.) | |
| NextSibling |
Gets the node immediately following this one.
(Inherited from Node.) | |
| NodeName |
Gets the name of this node.
(Inherited from Node.) | |
| NodeType |
Gets the type of this node.
(Inherited from Node.) | |
| NodeValue |
Gets or sets the value of this node.
(Inherited from Node.) | |
| OwnerDocument |
Gets the document that this node belongs to.
(Inherited from Node.) | |
| ParentNode |
Gets the parent of this node.
(Inherited from Node.) | |
| Prefix |
Gets or sets the namespace prefix of this node.
(Inherited from Node.) | |
| PreviousSibling |
Gets the node immediately preceding this one.
(Inherited from Node.) | |
| TextContent |
Gets or sets the textual content of this node.
(Inherited from Node.) |