Arbortext Command Language > Functions by Alphabetical Listing > tag_attr_default
  
tag_attr_default
tag_attr_default (tagname, attr[, doc])
This function returns the default value of the attribute attr for the element tagname as defined in the DTD for the specified document.
* 
If you have applied an alias map to the document, tagname and attr can be either aliases or real names. However, this function will return the real name for the attribute value, not its alias.
It returns a null string if attr does not have a default value or if no such attribute or element exists. 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_choices function
tag_attr_conref 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