Arbortext Command Language > Functions by Alphabetical Listing > dtd_tag
  
dtd_tag
* 
The dtd_tag() function is deprecated, and support for it may be removed in a future release. dtd_tag is equivalent to the oid_declared_tag() function which should be used in place of dtd_tag()
dtd_tag(tagname[, doc])
 
This function returns 1 (True) if tagname is the name of an element defined in the DTD. dtd_tag returns 0 (False) if tagname is not a valid tag name or if it is a Arbortext Editor supplied tag (for example, the processing instructions _font or _ignore).
* 
If you have applied an alias map to the document, tagname can be either an alias or a real name.
The doc argument specifies the identifier of the document tree to query. If 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.