Programmer's Guide > Interfaces > W3C ElementEditVAL interface > canSetAttributeNS method
  
canSetAttributeNS method
Determines if the attribute with given namespace and qualified name can be created if not already present in the attribute list of the element. If the attribute with the same qualified name and namespaceURI is already present in the element's attribute list, it tests whether the value of the attribute and its prefix can be set to the new value.
canSetAttributeNS(namespaceURI, qualifiedName, value)
Parameters
StringnamespaceURI
namespaceURI of namespace.
StringqualifiedName
Qualified name of attribute.
Stringvalue
Value to be assigned to the attribute.
Returns
unsigned short. A validation state constant.