This interface provides the ability to programmatically access all the nodes in the document object model (DOM), iterate over the nodes, insert and remove nodes, and get the attributes of a node.
IHTMLDOMNode Methods
appendChild Replaces a node's current node with the new node. CloneNode Creates a duplicate of a node. get_firstChild Retrieves the first child of the node. get_lastChild Retrieves the last child of the node. get_nextSibling Retrieves the next sibling of the node. get_nodeName Retrieves the name of the Document Object Model (DOM) node attribute. get_nodeValue Retrieves the value of the Document Object Model (DOM) node. get_previousSibling Retrieves the previous sibling of the node. hasChildNodes Returns whether this node has children. put_nodeValue Sets the value of the Document Object Model (DOM) node. removeNode Removes a node. replaceNode Replaces a node's current child with the new child node. swapNode Replaces a node's current node with the new node.
Interface Information
Implementation System (Mshtml.dll) Inherits from IDispatch Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 5 Minimum operating systems Windows 95, Windows NT 4.0