Click to return to the Reusing Browser Technology home page    
IHTMLDOMCollectionator::p...     IHTMLDOMNode::appendChild...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLDOMNode Interface


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


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.