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 theEXPRNODE
element. BecauseEXPRNODE
can be so broadly used to modify an expression, theNAME
attribute varies in relation to the expression that it modifies. For example,NAME
can 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 theNAME
attribute of an expression node modifies an expression.VALUE
- Provides a value that corresponds to theNAME
attribute. BecauseEXPRNODE
can be so broadly used, theVALUE
attribute can specify a variety of values. For example,INTEGER
may correspond toTYPE
;SUM
may correspond toNAME
;ADD
may correspond toOPERATOR
and so on. See an expression's help topic for details about how theVALUE
attribute 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>