Arbortext Command Language > Functions by Alphabetical Listing > oid_has_attr
  
oid_has_attr
oid_has_attr (oid, attrname)
This function returns 1 (True) if the start tag identified by oid specifies a value for the attribute named attrname. If the start tag does not specify a value for attrname, or if oidattrname is not a valid attribute name, this function returns 0.
* 
If you have applied an alias map to the document, attrname can be either an alias or a real name.
This is different from the function tag_has_attr that tests if a given attribute is declared for the element in the DTD.
Related Topics
tag_has_attr function