The syntax used in the Data Model Rules file is derived from XQL, with a few modifications. This subset of XQL is called XQL for Data Modeling (XQLm).
Note
For more information on XQL syntax, see the XQL Language Reference Guide.
In the MODEL and RULE sections, the following modifications apply to the XQLm syntax:
Only the following XQL stages are permitted: alter and filterfilter. An additional call stage is supported, which is used to invoke another rule.alter
Note
You cannot call a RULE section that exists in Default Rules from the User Defined Rules section.
No output stages are supported.
XDM_ALIAS cannot be used in rules. It is only supported in queries. For more information, see the search stage.search
Every model definition in the Data Model Rules file must end with a semicolon (;).
Each XDM field used in the MODEL and RULE sections is constructed using dot notation using the following format:
xdm.[<context>].[<compound>].<field>
For more information, see Field structure.