swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax    
rule type   find-end    

Syntax

  find-end condition?
     local-declaration*
     action*


Purpose

Actions to be taken at the end of processing an input document are entered in a find-end rule.

find-end rules are automatically invoked on the main input of a cross-translation, up-translation, or context-translation. Where find-start rules can be used for initialization, find-end rules can be used for termination.

Several find-end rules can be selected at the end of an OmniMark run. If multiple rules apply, the actions of those whose conditions succeed are performed in the order the rules appear in the OmniMark program.

In a context-translation, find-end rules are performed before any document-end rules. This order allows find-end rules to output SGML or XML markup that is processed by element rules before the document-end rules are processed.

A find-end rule is allowed only in context-translation, cross-translation, or up-translation programs.

    Related Syntax
   document-end
   element
   find-start
 
 
----

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:15 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.