Microsoft XML SDK 2.6 - XML Reference

tagName Property

Contains the element name (the name that appears within the tag).

strValue = oXMLDOMElement.tagName

Remarks

String. The property is read-only. It contains the string that represents the element's name. For example, the tag name is "book" in the tag

<book ISBN="1572318546">

See Also

Applies To: XMLDOMElement Object