Export (0) Print
Expand All
Expand Minimize

3.1.4.1.3.51 mce:RulePackageType Complex Type

The RulePackageType complex type specifies the rule pack identifier and the set of classification definitions rules.<44> A rule pack is a collection of rules (4) and associated resources.

<xs:complexType name="RulePackageType">
  <xs:sequence>
    <xs:element name="RulePack" type="mce:RulePackType"/>
    <xs:element name="Rules" type="mce:RulesType">
      <xs:key name="UniqueRuleId">
        <xs:selector xpath="mce:Entity|mce:Affinity|mce:Version/mce:Entity|mce:Version/mce:Affinity"/>
        <xs:field xpath="@id"/>
      </xs:key>
      <xs:key name="UniqueProcessorId">
        <xs:selector xpath="mce:Regex|mce:Keyword|mce:Fingerprint"></xs:selector>
        <xs:field xpath="@id"/>
      </xs:key>
      <xs:key name="UniqueResourceIdRef">
        <xs:selector xpath="mce:LocalizedStrings/mce:Resource"/>
        <xs:field xpath="@idRef"/>
      </xs:key>        
      <xs:keyref name="ReferencedRuleMustExist" refer="mce:UniqueRuleId">
        <xs:selector xpath="mce:LocalizedStrings/mce:Resource"/>
        <xs:field xpath="@idRef"/>
      </xs:keyref>
      <xs:keyref name="RuleMustHaveResource" refer="mce:UniqueResourceIdRef">
        <xs:selector xpath="mce:Entity|mce:Affinity|mce:Version/mce:Entity|mce:Version/mce:Affinity"/>
        <xs:field xpath="@id"/>
      </xs:keyref>
    </xs:element>
  </xs:sequence>
</xs:complexType>

The following table lists the child elements of the RulePackageType complex type.

Element

Type

Description

RulePack

mce:RulePackType (section 3.1.4.1.3.52)

Specifies the version, publisher information, and localized information of a rule pack.

Rules

mce:RulesType (section 3.1.4.1.3.54)

Specifies a collection of classification rules, text processors, and localized information of the classification rules.

Show:
© 2014 Microsoft