An
EXPRNODE element provides a generic way of sending a
variety of information to an
EXPRESSION. The information could be descriptions, data
types, constant values (parameters), and so on. Comparatively speaking, this
information is similar to a parameter for a function.
NAME- Describes theEXPRNODEelement. BecauseEXPRNODEcan be so broadly used to modify an expression, theNAMEattribute varies in relation to the expression that it modifies. For example,NAMEcan specify a variety of values such asTYPE,NAME,OPERATOR,AUTO_GEN,OPERATION, and so on. See an expression's help topic for details about how theNAMEattribute of an expression node modifies an expression.VALUE- Provides a value that corresponds to theNAMEattribute. BecauseEXPRNODEcan be so broadly used, theVALUEattribute can specify a variety of values. For example,INTEGERmay correspond toTYPE;SUMmay correspond toNAME;ADDmay correspond toOPERATORand so on. See an expression's help topic for details about how theVALUEattribute of an expression node modifies an expression.
This example shows an expression adding a dimension value ID to the
current record. The second and third expressions use
EXPRNODE to provide name and value information for the
parent
EXPRESSION.
<EXPRESSION NAME="ADD_DVAL" TYPE="VOID">
<EXPRESSION NAME="MATCH" TYPE="DVAL">
<EXPRNODE NAME="DIMENSION_ID" VALUE="9"/>
<EXPRESSION NAME="IDENTITY" TYPE="PROPERTY">
<EXPRNODE NAME="PROP_NAME" VALUE="P_Score"/>
</EXPRESSION>
</EXPRESSION>
</EXPRESSION>
