Arbortext Command Language > Functions by Alphabetical Listing > declare_filep_entity
  
declare_filep_entity
declare_filep_entity (name[, sysid[, pubid[, doc[, inEntity]]]])
This function adds a declaration for a file parameter entity (that is, an external file parameter entity) to the document's internal subset.
name is the name of the entity. A leading percent sign % is optional. If the entity hasn't already been declared, an error message is displayed.
sysid is the entity's system identifier.
pubid is the entity's public identifier.
doc is the document identifier. By default, the current document is assumed.
inEntity signifies whether the declaration is within an entity. A non-zero value means the declaration is within an entity.
For example, after the function call:
declare_filep_entity("myent", "/usr/myent")
the document's internal subset declaration will contain this:
<!ENTITY % myent SYSTEM "/usr/myent">
The declaration is added to the beginning of the subset.
* 
To ensure the declarations in the file parameter entity are added to the document's declaration, save the document, then choose File > Revert to Saved.
Related Topics
add_filep_entity function
insert_filep_entity function
delete_filep_entity function