Properties of a single element of a sequence type

You can assign properties directly to an element in a sequence, instead of assigning it to the type itself.

In this case, the properties assigned to the element take precedence over the properties assigned to the type. The element is identified in the property file as: <complexTypeName>.<elementName>

For example, in the following abstract syntax:

<complexType name="condition">
    <sequence>
        <element name="class" type="class">
        <element name="binding" type="binding">
        <element name="tests" type="test-list">
    </sequence >
</complexType>

If the newline property is defined on the <test-list> type, all sequences of type <test-list> have the newline property. You can redefine this property locally in the <condition> sequence type as follows:

<condition>.<tests>.newline = false

In this case, the tests element in a condition has no newline.

Any type of element defined in a sequence type can have the following properties:

Table 1. Sequence type element properties
Property Values Meaning Default
elementNewline true or false True if a newline is inserted before the element. false
elementIndent signed integer Level of indent of the element. The value is specified in units that can be modified using the Guided editor properties. 0
elementStyle String Name of the style used to display the element. You define styles in a property file. default, which is the predefined default style
elementText string The text of the element in the sequence. For optional elements, this text appears only when the element is present.  

The following sections describe the properties that are specific to the each of the different elements in a sequence.