Microsoft XML 2.5 SDK


 

IXMLDOMNode Interface

[This is preliminary documentation and subject to change.]

This interface extends the core XML DOM node interface with support for data types, namespaces, DTDs, and schemas.

IXMLDOMNode Methods

appendChild Appends newChild as the last child of this node.
attributes Contains the list of attributes for this node.
baseName* Returns the base name for the name qualified with the namespace.
childNodes Contains a node list containing the children (for nodes that can have children).
cloneNode Creates a new node that is an exact clone of this node.
dataType* Specifies the data type for this node.
definition* Returns the definition of the node in the DTD or schema.
firstChild Contains the first child of this node.
hasChildNodes Returns true if this node has children.
insertBefore Inserts a child node to the left of the specified node or at the end of the list.
lastChild Returns the last child node.
namespaceURI* Returns the URI for the namespace.
nextSibling Contains the next sibling of this node in the parent's child list.
nodeName Contains the qualified name of the element, attribute, or entity reference, or a fixed string for other node types.
nodeType Specifies the DOM node type, which determines valid values and whether the node can have child nodes.
nodeTypeString* Returns the node type in string form.
nodeTypedValue* Contains this node's value expressed in its defined data type.
nodeValue Contains the text associated with the node; depends on the node type.
ownerDocument Returns the root of the document that contains this node.
parentNode Contains the parent node (for nodes that can have parents).
parsed* Indicates whether this node and all descendants have been parsed and instantiated.
prefix* Returns the namespace prefix.
previousSibling Contains the left sibling of this node.
removeChild Removes the specified child node from the list of children and returns it.
replaceChild Replaces the specified old child node with the supplied new child node in the set of children of this node, and returns the old child node.
selectNodes* Applies the specified pattern to this node's context and returns the list of matching nodes.
selectSingleNode* Applies the specified pattern to this node's context and returns the first matching node.
specified* Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the DTD or schema.
text* Contains the text content of the node and its subtrees.
transformNode* Processes this node and its children using the supplied XSL style sheet, and returns the resulting transformation in a string.
transformNodeToObject* Processes this node and its children using the supplied XSL style sheet, and returns the resulting transformation in the supplied object.
xml* Contains the XML representation of the node and all its descendants.

* denotes an extension to the W3C DOM.

Interface Information

Implementation Msxml.dll
Inherits from IDispatch
Header and IDL files Msxml.h, Xmldom.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT