STRING
expressions return text strings. They are
used to manipulate non-numeric data. The
STRING CONST
expression returns the same string constant,
specified in a
VALUE
expression node.
See the
EXPRESSION
element for DTD and attribute information.
This example creates a property called Name by concatenating three values, one of which is a constant functioning as a term separator.
<EXPRESSION NAME="CREATE" TYPE="VOID"> <EXPRNODE NAME="PROP_NAME" VALUE="Name"/> <EXPRESSION NAME="CONCAT" TYPE="STRING"> <EXPRESSION NAME="IDENTITY" TYPE="PROPERTY"> <EXPRNODE NAME="PROP_NAME" VALUE="file_name"/> </EXPRESSION> <EXPRESSION NAME="CONST" TYPE="STRING"> <EXPRNODE NAME="VALUE" VALUE=", rev "/> </EXPRESSION> <EXPRESSION NAME="IDENTITY" TYPE="PROPERTY"> <EXPRNODE NAME="PROP_NAME" VALUE="revision"/> </EXPRESSION> </EXPRESSION> </EXPRESSION>