OwS Syntax

Aus CTS2-LE
Zur Navigation springen Zur Suche springen

Syntax


OwS := MsWordParagraph *   root element for any MS Word Document that shall be processed by the OwS interpreter
MsWordParagraph := OwSStatement must be either formatted using (1) style sheet "OwS", (2) any style sheet starting with "OwS." (3) any style sheet that is registered with OwS using an OwS Directive.
| OwSDirective must be formatted using style sheet "OwS"
| any MS Word Text any MS Word text that is formatted by a style sheet that is not registered with OwS is ignored by the OwS interpreter
OwSStatement := DefineStatement define a new type (class) or object (e.g. a codesystem or a concept)
| DefaultStatement register a default value for a property
| SetStatement assign a value to a property
| FullPredicateStatement define a relationship between to concepts
OwSDirective := OwS.StyleName link a style to a property
| HeadingDirective align OwS object definitions with MS Word document chapters and sections
| PatternDirective transform a paragraph of a defined style into an OwS statement
| ObligationDirective perform pre- or postprocessing operations
| TableDirective create a set/hierarchy of concepts from an MS Word table
| StylemappingDirective define a trigger for inherently changing styles
| GotoDirective control how the OwS scanner processes a document
| PackageDirective define a named script as a sequence of OwS statements