3.1.4.1.3.20 mce:GroupType Complex Type

The GroupType complex type specifies the terms in a keyword-based rule.<20>

 <xs:complexType name="GroupType">
   <xs:sequence>
     <xs:choice>
       <xs:element name="Term" type="mce:TermType" maxOccurs="unbounded"/>
     </xs:choice>
   </xs:sequence>
   <xs:attribute name="matchStyle" default="word">
     <xs:simpleType>
       <xs:restriction base="xs:NMTOKEN">
         <xs:enumeration value="word"/>
         <xs:enumeration value="string"/>
       </xs:restriction>
     </xs:simpleType>
   </xs:attribute>
 </xs:complexType>

The following table lists the child element of the GroupType complex type.

Element

Type

Description

Term

mce:TermType (section 3.1.4.1.3.60)

Specifies a term and whether the term is case-sensitive. The term MUST be between 1 and 100 characters in length. One or more Term elements can be present.

The following table lists the attribute of the GroupType complex type.

Attribute

Type

Description

matchStyle

xs:simpleType ([XMLSCHEMA2] section 3.2.2)

Specifies whether the match of the rule condition and Message object is based on a word or a string. The following are the possible values for this attribute:

§ word

§ string

The default value is "word". A word match is based on an entire word; a string match is based on a match of a substring of the string.

Show: