Indicates whether the node has an attribute with a specified name.
function HasAttribute(const Name: DOMString): Boolean; overload; function HasAttribute(const Name: DOMString; const NamespaceURI: DOMString): Boolean; overload;
__fastcall Boolean HasAttribute(const DOMString Name); __fastcall Boolean HasAttribute(const DOMString Name, const DOMString NamespaceURI);
Use the TXMLNode object's IXMLNode interface to call the protected HasAttribute method.
Name is the name of the attribute about which you want to know.
NamespaceURI is the namespace of the attribute.
HasAttribute returns true if this node has the specified attribute, false otherwise.
AttributeNodes
GetAttribute
GetAttributeNS