Properties of a sequence type

You can assign the text property to a sequence type.

Table 1. Sequence type properties
Property Values Meaning Default
text String Text used to display the complex type. <...>

Here is an example of a sequence text property definition:


<rule>.text = when <conditions> \nthen <actions>

In the text definition, names within brackets refer to the corresponding elements in the sequence. In the text definition above, the tags <conditions> and <actions> refer to the elements in the <rule> sequence, and are replaced by their textual appearance in the editor.

You can also refer to the whole content of the sequence without enumerating all its elements by using the shortcut <...>, which inserts the sequence itself.

For example, if you want to append some text before the sequence, you can set the text property as shown:


<rule>.text = This is a rule: <...>

However, you cannot use a mixture of elements and shortcut. The text property must list either the shortcut <...>, or all the elements of the sequence. If an element is not shown in the text, or it is shown several times, a warning is issued when loading the schema.

For more information on the properties of an element of a sequence type, see Properties of an element of a sequence type.