Arbortext Command Language > Functions by Alphabetical Listing > tag_attr_choices
  
tag_attr_choices
tag_attr_choices (tagname, attr, arr[, doc])
This function fills the array arr with the list of declared values for the NAMEGROUP type attribute named attr of the element specified by tagname, returning the number of choices. The first attribute value is returned as index 1.
* 
If you have applied an alias map to the document, tagname and attr can be either aliases or a real names. However, this function will return the real name of the attribute value, not its alias.
The doc argument specifies the identifier of the document tree. If doc is omitted or 0, the current document is used.
* 
If the document type definition for your document instance includes the NAMECASE GENERAL NO setting, then the tagname parameter will be case sensitive.
Related Topics
tag_attr_conref function
tag_attr_default function
tag_attr_fixed function
tag_attr_required function
tag_attr_type function
tag_attr_value function
tag_attrs function
tag_has_attr function
tag_has_conref function
tag_content function