C H A P T E R 3
Operator
Name
and
Logical AND operator
or
Logical OR operator
Sample Pattern
//restaurant[@genre and
Food_Rating]
//restaurant[@genre or
Food_Rating]
//restaurant or //theater
NOTE: FunctionCalls
can only be specified
within FilterExpressions.
24
HP e-Commerce/XML Server Accelerator SA7150 User Guide
Boolean Operators
Boolean operators are logical operators between expressions. These
operators are used in the PathExpression and the FilterExpression, as
shown below.
PathExpression BooleanOperator PathExpression
•
•
FilterExpression BooleanOperator FilterExpression
Boolean Operators
Description
Matches if there is a restaurant element, a genre attribute, and a
Food_Rating child element. genre and Food_Rating are associated
with the restaurant element.
Matches if there is a restaurant element, a genre attribute, or a
Food_Rating child element. genre and Food_Rating are associated
with the restaurant element.
Matches if there is a restaurant element or a theater element
anywhere in the XML data tree.
Boolean Operator Examples
Function Calls
Function calls allow you to specify partial patterns within
FilterExpressions. FunctionCall expressions are evaluated by using
the FunctionName to identify a supported function, evaluating each
of the arguments if needed, and calling the function passing the
Description
Performs a logical AND operation
Performs a logical OR operation
Need help?
Do you have a question about the P4518A - Traffic Management Server Sa7150 and is the answer not in the manual?
Questions and answers