|
|||||
Initialization and termination rules: order of performance | |||||
Prerequisite Concepts |
OmniMark provides a variety of initialization and termination rules. These rules are designed to be used for performing processes at the beginning and end of programs. These initialization and termination rules are particularly useful when using an aided translation type program because they allow you to gain control over the program before document processing begins and after document processing ends.
The types of initialization and termination rules that you can use depend upon the type of program you are writing:
find-start
and find-end
rules can be used in cross-translations, up-translations, and context-translations.
document-start
and document-end
rules can be used in down-translations, up-translations, and context-translations.
process-start
and process-end
rules can be used in all OmniMark programs.
You will notice that some of the aided translation type programs can use more than one type of initialization and termination rule. It is important that you understand the order in which OmniMark processes these rules so that your program behaves as expected if you use more than one type in your program.
Initialization and termination rules are performed in the following order:
Prerequisite Concepts Initialization and termination rules |
---- |