Deletes a service attribute with the specified name attached to the specified element. (See also "What are Service Attributes?" below.)
Parameters:
element
The element whose service attribute is to be deleted. If not specified, the
generator context element is assumed by default, which is the same as the call:
removeServiceAttr(contextElement, attrName)
attrName
The name of the service attribute to be deleted.
Returns:
The value of the deleted service attribute ornull
, if no service attribute with the specified name has been attached to the specified element.Note:
null
can be also a legitimate value of a service attribute. To distinguish if the attribute had anull
value or did not exist, usehasServiceAttr()
function.
See Also:
setServiceAttr(), getServiceAttr(), hasServiceAttr()
${include ../../../refs/service_attrs.htm}