<!ATTLIST FILTER id ID #IMPLIED template IDREF #IMPLIED type ( AND | OR) "AND"> |
Attribute | Mand. | Description | Default |
id | no | Identifier of the filter. | |
template | no | Reference to the filter used as pattern. | |
type | no | Filter type: 'AND' or 'OR'. The default type is 'AND'. | AND |
<!ELEMENT FILTER (NAME?, ALIAS?, GROUP?, (EXP | FILTER | FILTER_REF | FILTER_RELATION | FILTER_CRITERIA | FILTER_CRITERIA_REF | FORMULA)*, DATA*, TIP?)> |
Element | Mand. | Mult. | Description |
NAME | no | no | Name of the filter. |
ALIAS | no | no | Short name of the filter. |
GROUP | no | no | Group to which the filter belong. |
EXP | yes | no | Filter expression. |
FILTER | yes | no | Sub-filter. |
FILTER_REF | yes | no | Reference of a sub-filter. |
FILTER_RELATION | yes | no | Filter on relation. |
FILTER_CRITERIA | yes | no | Filter criteria. |
FILTER_CRITERIA_REF | yes | no | Filter criteria references. |
FORMULA | yes | no | Formula used for filtering. |
DATA | no | yes | Specific data. |
TIP | no | no | Help section of the filter. |
<FILTER id="action_filter" type='AND'> <EXP idref="obj_lock" not='true' condition='EQUALS' value="1"/> </FILTER> <FILTER id="alr_cri_and_maj" type='OR'> <EXP idref="alr_sev" condition='EQUALS' value="5"/> <EXP idref="alr_sev" condition='EQUALS' value="4"/> </FILTER> <FILTER id="arl_cri_and_maj_nack" type='AND'> <FILTER_REF idref="alr_cri_and_maj"/> <EXP id_ref="alr_ack" condition='EQUALS' value="0"/> </FILTER> |