external-data-entity Full Description |
|
Syntaxexternal-data-entity entity-name condition? action* Purpose Used to process external data and subdocument entities. It is triggered when a reference to the named entity occurs in the data content, and any specified condition is met. It is never selected when the entity occurs in the value of "entity" or "entities" attributes, because use of an entity name in an attribute value is not considered to be an entity reference. Internal data entity references and all text entity references simply result in the substitution of the entity's replacement text for the reference. The SGML parser automatically processes the replacement text and no special rules are needed in the OmniMark program. When the same actions apply to more than one entity, the names of all the entities can be listed in the rule header, enclosed in parentheses, and separated by the For example, the following external-data-entity (picture1 | picture2) output "\picture{%uq.PIC}" Specific entity names need not be listed in the rule header. For example, the following rule can be used to define actions to be performed whenever a reference to an entity declared with notation "TBL" occurs:
external-data-entity #implied when notation = "tbl" If multiple It is also an error to have no In the condition on an
|