swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:14 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.