Checks if the specified element has an attribute with the specified name.
This function bypasses any special processing of attributes implied by the DSM Type. Instead, it calls directly the W3C DOM method:
org.w3c.dom.Element.hasAttribute()
Parameters:
element
hasXMLAttribute(contextElement,attrName)
Note: When called for a pseudo-element, this function
works the same as hasAttr()
function.
(See also DSMElement.pseudoElement
property.)
attrName
true
if the element contains an attribute with the given name;
false
otherwise.
getXMLAttribute(), setXMLAttribute(), removeXMLAttribute(), hasAttr()