VOID
expressions return no value but are used to
perform other work. The
VOID CREATE
expression creates a new property on the current record.
The name of the property is specified either by a
PROP_NAME
expression node, or by the first
sub-expression, which may be of type
STRING
,
PROPERTY
,
INTEGER
, or
FLOAT
. The value for the property comes from a second
sub-expression of type
STRING
,
PROPERTY
,
INTEGER
, or
FLOAT
.
See the
EXPRESSION
element for DTD and attribute information.
This example creates a new property called
Document-Digest
.
<EXPRESSION TYPE="VOID" NAME="CREATE"> <EXPRNODE NAME="PROP_NAME" VALUE="Document-Digest"/> <EXPRESSION TYPE="STRING" NAME="DIGEST"> <EXPRESSION TYPE="PROPERTY" NAME="IDENTITY"> <EXPRNODE NAME="PROP_NAME" VALUE="Endeca.Document.Body"/> </EXPRESSION> </EXPRESSION> </EXPRESSION>