OwS Style Sheet Directive: obligation: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
K
Zeile 42: Zeile 42:
 
</font>
 
</font>
 
<hr>
 
<hr>
 +
 +
== Description ==
 +
The #obligation directive triggers the execution of a set of OwS code whenever the OwS tokenizer discovers a paragraph of a certain style.
 +
 +
== Examples ==

Version vom 23. Dezember 2016, 23:13 Uhr

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.

Examples