Arbortext Command Language > Functions by Alphabetical Listing > declare_text_entity
  
declare_text_entity
declare_text_entity (name[, text[, type[, doc[, confirmDtdOverride[, inEntity]]]]])
This function allows you to declare a text entity with a specific name and a specific replacement value.
name is the name of an existing text entity. A leading & is optional.
text is what replaces the entity reference in the formatted document.
type is either cdata to declare a CDATA entity, or an empty string .
doc is the document identifier. By default the current document is assumed.
confirmDtdOverride prompts the user whether to override the DTD if the graphic entity is already declared in the DTD. A non-zero value will prompt the user.
inEntity signifies whether the declaration is within an entity. A non-zero value means the declaration is within an entity.
Related topic
modify_text_entity function