IXMLDOMAttribute Members

MSXML 5.0 SDK

Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - DOM Reference

IXMLDOMAttribute Members

[Visual Basic, Script]

The following tables show the properties, methods, and events.

[C/C++]

The following tables show the properties, methods, and events.

This interface inherits from IXMLDOMNode.

Properties

attributes Contains the list of attributes for this node. Read-only.
baseName* Returns the base name for the name qualified with the namespace. Read-only.
childNodes Contains a node list containing the children nodes. Read-only.
dataType* Specifies the data type for this node. Read/write.
definition* Returns the definition of the node in the document type definition (DTD) or schema. Read-only.
firstChild Contains the first child of the node. Read-only.
lastChild Returns the last child node. Read-only.
name Contains the attribute name. Read-only.
namespaceURI* Returns the Uniform Resource Identifier (URI) for the namespace. Read-only.
nextSibling Contains the next sibling of this node in the parent's child list. Read-only.
nodeName Contains the qualified name of the element, attribute, or entity reference, or a fixed string for other node types. Read-only.
nodeType Specifies the XML Document Object Model (DOM) node type, which determines valid values and whether the node can have child nodes. Read-only.
nodeTypedValue* Contains the node value expressed in its defined data type. Read/write.
nodeTypeString* Returns the node type in string form. Read-only.
nodeValue Contains the text associated with the node. Read/write.
ownerDocument Returns the root of the document that contains the node. Read-only.
parentNode Contains the parent node. Read-only.
parsed* Indicates the parsed status of the node and child nodes. Read-only.
prefix* Returns the namespace prefix. Read-only.
previousSibling Contains the previous sibling of this node in the parent's child list. Read-only.
specified Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the document type definition (DTD) or schema. Read-only.
text Represents the text content of the node or the concatenated text representing the node and its descendants. Read/write.
value Contains the attribute value. Read/write.
xml Contains the XML representation of the node and all its descendants. Read-only.

* Denotes an extension to the World Wide Web Consortium (W3C) DOM.

Methods

appendChild Appends new child node as the last child of this node.
cloneNode Clones a new node.
hasChildNodes Provides a fast way to determine whether a node has children.
insertBefore Inserts a child node to the left of the specified node or at the end of the list.
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.
selectNodes Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as IXMLDOMNodeList.
selectSingleNode Applies the specified pattern-matching operation to this node's context and returns the first matching node.
transformNode Processes this node and its children using the supplied XSL Transformations (XSLT) style sheet and returns the resulting transformation.
transformNodeToObject Processes this node and its children using the supplied XSL Transformations (XSLT) style sheet and returns the resulting transformation in the supplied object.

Events

None.

To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button Language Filter in the upper-left corner of the page.

See Also

IXMLDOMNode