This reference describes the details of the language elements in the XML schema for the Active Correlation Technology rule language. The language elements are listed in alphabetical order, and the attributes that are available for each element are described within the topic for that element.
In XML, and in other markup languages such as SGML and HTML, an element is a basic unit that consists of a start tag, end tag, associated attributes and their values, and any text that is contained between the start and end tags. An attribute is a name-value pair that is coded on an element to define a certain characteristic of the element. An attribute has a data type that identifies the kind of information that is provided in its value (for example, numerical, textual, or boolean information).
<xsd:element name="symbol" minOccurs="1" maxOccurs="unbounded"></element> <xsd:complexType name="symbol"></complexType>
In the schema, the minOccurs and maxOccurs attributes define the minimum and maximum number of occurrences, respectively, for a language element. Table 1 describes the meaning of different values for the minOccurs and maxOccurs attributes.
Attribute | Attribute value | Meaning |
---|---|---|
minOccurs | 0 | The language element is optional. |
minOccurs | 1 | The language element must occur at least once. 1 is the default value for the minOccurs attribute. |
minOccurs | 2 | The language element must occur at least twice. |
maxOccurs | 1 | The language element cannot occur more than once. 1 is the default value for the maxOccurs attribute. |
maxOccurs | unbounded | The language element can occur any number of times. |