swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
rule  

marked-section include-start

 
 

Syntax

marked-section include-start condition?
   action*


Purpose

Unlike most marked section rules, include rules are split into two sets of rules: marked-section include-start rules and marked-section include-end rules. This is because an include-marked section can start in the context of one element and end in the context of another ("merging" the specifications), and so can overlap the structure that ties the components of a parsed SGML document together. To avoid the complications that could result from trying to "merge" the specifications for the rules for include-marked sections with the applicable element and data-content, the include rules apply only to the start and end of the marked section.

Clearly, marked-section include-start applies to the start of the marked section.

The following is an example of a marked-section include-start rule:

  marked-section include-start
     do when element is (p | title)
        output " (Start of bracketed text)"
     else
        output "(Start of bracketed text)%n"
     done

    Related Syntax
   data-content
   element
   include
   suppress
   marked-section include-end
 
 
 

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

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.