|
|||||
|
|||||
Related Syntax | |||||
rule |
marked-section include-end |
Syntax
marked-section include-end condition? action*
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, and so can overlap the structure that ties together the components of a parsed SGML document.
marked-section include-end
applies to the end of the marked section:
marked-section include-end
rule is performed at the end of an include-marked section, then the ending markup is ignored by the OmniMark program (though not by the SGML parser).
marked-section include-end
rule may be selected for each marked section. If more than one rule applies, then each must have a condition. It is an error for more than one marked-section include-end
rule to be selected for an include-marked section.
marked-section
rule in the OmniMark program.
%c
operator nor the suppress
action can be used in a marked-section include-end
rule.
The following is an example of a marked-section include-end
rule:
marked-section include-end do when element is (p | title) output " (End of bracketed text)" else output "(End of bracketed text)%n" done
Related Syntax |
Copyright © Stilo International plc, 1988-2010.