HP e-Commerce / XML director server appliance sa8250 - Users Guide
C H A P T E R 2 XML Operations
13
XML Expression Syntax
This table lists the valid XML expression syntax for the SA8250.
These are described in more detail on the following pages.
Expression Syntax
XML Expression
PathExpression
PathExpression
Path | PathExpression BooleanOperator PathExpression |
‘(‘ PathExpression ‘)’
Path
( ‘/’ | ‘//’ ) Element + Filter ?
Filter
‘[‘ FilterExpression ‘]’
FilterExpression
(Element | Attribute | Function Call) (ComparisonOperator
Value )? | ‘(‘ FilterExpression ‘)’ | FilterExpression
BooleanOperator FilterExpression
Value
Literal | Number
Number
Integer | Decimal
ComparisonOperator
‘>’ | ‘<‘ | ‘=’ | ‘!=’ | ‘>=’ | ‘<=’
BooleanOperator
‘and’ | ‘or’
FunctionCall
FunctionName ‘(‘ ( Argument ( ‘,’ Argument )* )? ‘)’
FunctionName
‘starts-with’ | ‘contains’ | ‘translate’
Attribute
‘@’ ( AttributeName | ‘*’ )
Element
ElementName | ‘*’
XML Expression Syntax