Arbortext Command Language > Functions by Alphabetical Listing > numbered_list_item_tag_name
  
numbered_list_item_tag_name
numbered_list_item_tag_name(arr[, doc])
This function returns the name of the primary numbered list item tag specified in the document type configuration file (.dcf) for the document type associated with doc. This tag is inserted, along with the numbered list block tag, when users select the numbered list button on the Application toolbar.
If a tag name is returned, numbered_list_item_tag_name function returns arr with an attribute name and attribute value, if they were specified for the tag in the .dcf file.
The function returns the null string if there isn't a numbered list item tag 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.
For example,
local tag, arr[];
local attr, val;
tag = numbered_list_item_tag_name(arr);
attr = arr['attribute'];
val = arr['attribute_value'];
Related Topics
Document type configuration files
Configuring tags as list elements
numbered_list_block_tag_name function
set toolbar4 command