Arbortext Command Language > Functions by Alphabetical Listing > tag_names
  
tag_names
tag_names (arr[, dtd[, doc]])
The tag_names function fills the array arr with an alphabetical list of elements and similar markup icons for the current document type, returning the total number. The first name returned is stored at index 1. All previous elements in arr are discarded.
* 
Even if you have applied an alias map to the document, this function will return an element's real name, not its alias.
If the value specified by dtd is non-zero, then the array includes only names of elements defined in the DTD.
If dtd is omitted or is 0, the array arr includes:
The DTD element names.
The names of markup icons supplied by Arbortext Editor. (For example, _ignore, _font, and so on.)
The doc argument specifies the identifier of the document tree. If doc is omitted or 0, the current document is used.
Related Topics
file_entity_names function
filep_entity_names function
text_entity_names function