Arbortext Command Language > Functions by Alphabetical Listing > entity_path
  
entity_path
entity_path (name[, doc])
This function returns the resolved absolute path name for the external entity given by name. If the entity given by name is not defined or is not a file or graphic entity name, the function returns the null string. The doc parameter specifies the identifier of the document tree to query. If omitted or 0, the current document is used. This callback should always be set globally.
For example,
$path = entity_path("prodname")
would return the full path and file name of the prodname file entity in the $path variable.
Related Topics
entity_path callback type to doc_add_callback
oid_type function
oid_name function