Types of Mapping Rules

A mapping rule must be defined inside anorelement, whereXmay be substituted by eitherfeature,group, orreference. This means that the containing element determines the mapping rule’s type.

Allmapping rules, regardless of their type, are represented in xfMap by theelement. A mapping rule has the following form:

  

The types of mapping rule and their corresponding containing elements are:

  • feature mapping rules: These specify the construction of FME features, and they must be defined inside theorelements.
  • group mapping rules: These specify the construction of xfMap groups, and they must be defined inside theorelements.
  • reference mapping rules: These specify the construction of xfMap references, and they must be defined inside theorelements.

Each mapping rule type will be described in separate sections:Feature Mapping Rules,Group Mapping Rules, andReference Mapping Rules.

The following section describes the mapping rule’s match expression and states. Every mapping rules may also contain some optional elements, which are discussed inMapping Rules (Optional Elements).