VOID REMOVE

VOID expressions return no value but are used to perform other work. The VOID REMOVE expression removes the specified properties from the current record.

The names of the properties to be removed are given in PROP_NAME expression nodes.

See the EXPRESSION element for DTD and attribute information.

Example

This example evaluates whether the Region property is equal to the constant Other Italy. If two are equal, then the REMOVE expression deletes the property.

<EXPRESSION TYPE="VOID" NAME="IF">
   <EXPRESSION TYPE="INTEGER" NAME="MATH">
      <EXPRNODE NAME="TYPE" VALUE="STRING"/>
      <EXPRNODE NAME="OPERATOR" VALUE="EQUAL"/>
      <EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
         <EXPRNODE NAME="PROP_NAME" VALUE="Region"/>
      </EXPRESSION>
      <EXPRESSION TYPE="STRING" NAME="CONST">
         <EXPRNODE NAME="VALUE" VALUE="Other Italy"/>
      </EXPRESSION>
   </EXPRESSION>
   <EXPRESSION TYPE="VOID" NAME="REMOVE">
      <EXPRNODE NAME="PROP_NAME" VALUE="Region"/>
   </EXPRESSION>
</EXPRESSION>