Arbortext Command Language > Functions by Alphabetical Listing > entity_type
  
entity_type
entity_type (name[, doc])
 
The entity_type function returns a string describing the type for the entity named name. The return value is one of the strings:
accent — character (SDATA) entity that is an accent
char — character (SDATA) entity
file — external entity
filep — parameter file entity
graphic — external graphic (NDATA) entity
msp — marked section parameter entity
text — internal general entity
If name is not a valid entity, the null string is returned.
The doc argument specifies the identifier of the document tree to query. If omitted or 0, the current document is used.