Arbortext Command Language > Functions by Alphabetical Listing > entity_pubid
  
entity_pubid
entity_pubid (name[, doc])
The entity_pubid function returns the PUBLIC identifier from the declaration for the entity name. A leading & is optional for general entities. The leading percent sign % must be supplied for parameter entities.
The doc argument specifies the identifier of the document tree to query. If omitted or 0, the current document is used.
It returns the null string if the entity does not exist or if no PUBLIC identifier was specified.