Workbench supports XPath expressions
that include operators. Operators are evaluated at run time.
Almost all expressions that include operators require that a
value is included on either side of the operation. For example,
the less-than operator (
<
) requires two values
to compare.
Only the unary minus expression uses an operator with only one
value; unary minus expressions include a minus sign (-) followed
by a value. The unary minus expression
-
value
returns
the negative of the value
value
.
To build a complex expression by using operators:
-
Enter the value to use on the left side of the operator:
-
To use data from the data tree, click Process Data to view
the data tree, select the data item to use as the value, and click
Insert Selection.
-
To use the results of a function, click Functions to view
the Functions library, select the function, and click Insert Selection.
-
To enter other text, type the value.
-
Click Operators to view the Operators library.
-
Locate the operator that you want to use and choose either
of these ways to add it to the expression:
-
Enter the value to use on the right side of the operator:
-
To use data from the data tree, click Process Data to view
the data tree, select the data item to use as the value, and click
Insert Selection.
-
To use the results of a function, click Functions to view
the Functions library, select the function, and click Insert Selection.
-
To enter other text, type the value.
-
When the expression is complete, click OK.
|
|
|