This function works as a shortcut of one of the calls:
getServiceAttr(element, attrName).toString()
or
getServiceAttr(attrName).toString()
See Also:

getServiceAttr(), toString()