PROPERTY
expressions return properties
(name-value pairs). They are typically used to provide data to other
expressions. The
PROPERTY DVAL
expression creates a property value for each
dimension value the current record has from the specified dimension.
A
PROP_NAME
expression node specifies the name of the
property to be created. The dimension can be specified using either a
DIMENSION_ID
or a
DIMENSION_NAME
expression node. By default, values for
the property are created containing the name of each dimension value assigned
to the record from the specified dimension. If the
FULL_PATH
expression node is specified with a value of
TRUE
, then the names of all dimension values in the
path from the dimension root to the assigned dimension value are concatenated
(separated by ‘/’) and used instead of the dimension value name.
See the
EXPRESSION
element for DTD and attribute information.
This example creates the Price property for the specified dimension value in the record being processed.
<EXPRESSION TYPE="VOID" NAME="ADD_PROP"> <EXPRESSION TYPE="PROPERTY" NAME="DVAL"> <EXPRNODE NAME="DIMENSION_ID" VALUE="300"/> <EXPRNODE NAME="PROP_NAME" VALUE="Price"/> <EXPRNODE NAME="FULL_PATH" VALUE="TRUE"/> </EXPRESSION> </EXPRESSION>