Slide 14 of 22
Notes:
The power of XML to structure a document, and to tag its content with labels to give it meaning, provides the opportunity to define policies and the processes by which they are enforced. To illustrate this, the supply contract is translated into an equivalent XML document. The textual form of the document can be reconstructed from the <DESCRIPTION> sections, including its party and clause elements.
Each <CONTRACT> has a name and two or more <PARTY> sections, each of which is also named, and contains one or more clauses. The types of clause include <PERMIT>, <PROHIBIT> and <OBLIGE>, each defining a right or obligation of a party. The actions that flow from a state of affairs include <FULFILL>, <VIOLATE> and <CANCEL>, each of which cause another state of affairs, usually, but not always, through instantiating a process.