STRING expressions return text strings. They are
used to manipulate non-numeric data. The
STRING CONCAT expression returns a string that is the
concatenation of two or more values.
The values to be concatenated are given by sub-expressions, which can
be of type
STRING,
INTEGER,
FLOAT, or
PROPERTY. There are no
EXPRNODE elements to configure
STRING CONCAT.
See the
EXPRESSION element for DTD and attribute information.
This example concatenates the value of the property ChapterNum and ChapterTitle with a space between them.
<EXPRESSION TYPE="VOID" NAME="CREATE">
<EXPRNODE NAME="PROP_NAME" VALUE="ChapterNumTitle"/>
<EXPRESSION TYPE="STRING" NAME="CONCAT">
<EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
<EXPRNODE NAME="PROP_NAME" VALUE="ChapterNum"/>
</EXPRESSION>
<EXPRESSION TYPE="STRING" NAME="CONST">
<EXPRNODE NAME="VALUE" VALUE=" "/>
</EXPRESSION>
<EXPRESSION TYPE="PROPERTY" NAME="IDENTITY">
<EXPRNODE NAME="PROP_NAME" VALUE="ChapterTitle"/>
</EXPRESSION>
</EXPRESSION>
</EXPRESSION>
