OwS Style Sheet Directive: obligation
Version vom 23. Dezember 2016, 23:13 Uhr von Caumanns (Diskussion | Beiträge)
Syntax
| ObligationDirective | := | #obligation PrePostQualifier? StyleName => ExecutableCode | ||
| | | #obligation PrePostQualifier? StyleName | de-registers all obligations for the given style and mode (pre/post) | ||
| PrePostQualifier | := | < | Obligation is executed before a line of text with the given style is processed | |
| | | > | Obligation is executed after a line of text with the given style is processed. This is the default behavior. | ||
| ExecutableCode | := | PackageName | ||
| | | Text |
Description
The #obligation directive triggers the execution of a set of OwS code whenever the OwS tokenizer discovers a paragraph of a certain style.