nodeTypeString Property

Returns the node type in string form.

strValue = oXMLDOMNode.nodeTypeString;

HRESULT get_nodeTypeString(
  BSTR* nodeType
);

General Remarks

To return the enumeration value, use the nodeType property.

This value depends on the value of the nodeType property.

Value nodeType value
NODE_ATTRIBUTE attribute
NODE_CDATA_SECTION cdatasection
NODE_COMMENT comment
NODE_DOCUMENT document
NODE_DOCUMENT_FRAGMENT documentfragment
NODE_DOCUMENT_TYPE documenttype
NODE_ELEMENT element
NODE_ENTITY entity
NODE_ENTITY_REFERENCE entityreference
NODE_NOTATION notation
NODE_PROCESSING_INSTRUCTION processinginstruction
NODE_TEXT text

This property is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

This property is read-only, and applies to the following objects and interfaces:

IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, DOMDocument, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime

See Also

nodeType property

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.