Arbortext Command Language > Functions by Alphabetical Listing > target_tag_name
  
target_tag_name
target_tag_name ([doc])
The target_tag_name function returns the name of the primary target element for the document type associated with doc. It returns the null string if no target tag was designated for the document type, or if doc is invalid or an ASCII file. If doc is omitted or 0, the current document is used.
* 
Even if you have applied an alias map to the document, this function will return an element's real name, not its alias.
Related Topics
target_tag function
target_id_attr_name function