Arbortext Command Language > Functions by Alphabetical Listing > add_filep_entity
  
add_filep_entity
add_filep_entity (name[, sysid[, pubid]])
This function allows you to declare a file parameter entity (that is, an external parameter entity) in the document's internal subset and insert a reference to the parameter entity.
name is the name for the entity. A leading percent sign % is optional.
sysid is the entity's system identifier.
pubid is the entity's public identifier.
For example, after this function call:
add_filep_entity("myent", "/usr/myent")
the document's internal declaration will contain:
<!ENTITY % myent SYSTEM "/usr/myent">
%myent;
The function call in the example has the same effect as these two function calls:
declare_filep_entity("myent", "/usr/myent")
insert_filep_entity("myent")
* 
To ensure the file parameter's declarations are added to the document's declaration, save the document, then choose File > Revert to Saved.
Related Topics
declare_filep_entity function
insert_filep_entity function
delete_filep_entity function