Gets the value of the named attribute.
Syntax
objValue = oXMLDOMElement.getAttribute(name)
Parameters
- name
- String specifying the name of the attribute to return.
Returns
Variant. Returns a string that contains the attribute value, or returns the empty string if the named attribute does not have a specified or default value.
Remarks
Another way to retrieve attributes is to use the XMLDOMNamedNodeMap object's getNamedItem method.
Applies To
XMLDOMElement