Arbortext Command Language > Functions by Alphabetical Listing > target_id_attr_name
  
target_id_attr_name
target_id_attr_name (tagname[, doc])
This function returns the name of the ID attribute (for example, id) for the target tag specified by tagname. If the tag has no such attribute, target_id_attr_name returns the null string.
* 
If you have applied an alias map to the document, tagname can be either an alias or a real name. However, this function will return an attribute's real name, not its alias.
The doc argument specifies the identifier of the document tree. If doc is omitted or 0, the current document is used.