Arbortext Command Language > Functions by Alphabetical Listing > current_tag_attr_value
  
current_tag_attr_value
current_tag_attr_value(attr[, doc])
This function returns the current, or local, value of the attribute named attr for the element markup preceding the cursor. If the markup is an end tag, then attribute values for the start tag are used. The doc argument specifies the identifier of the document tree to be queried. If omitted or 0, the current document is used.
* 
If you have applied an alias map to the document, attr can be either an alias or a real name. However, this function will return the attribute value's real name, not its alias.