Arbortext Command Language > Functions by Alphabetical Listing > treeloc_oid
  
treeloc_oid
oid = treeloc_oid (treeloc[, sep_char[, top_level_oid]])
This function returns the oid in the current document of the tag specified by treeloc.
Specify a separator character sep_char to delineate the values in the string with a character other than “,”, which is the default.
To limit the size of the returned value, specify a top_level_oid. This sets the parent tag at which the oid will begin. If you do not specify a top_level_oid, the first value in the returned string represents the first tag in the document.
* 
If you specify an treeloc within a file entity, this function will not search back into the parent document .