to the main page... about these slides...

Expressions

Available types: node-set (set of nodes), boolean (true or false), number (floating point), string (Unicode text).

Abstract syntax for expressions:

exp -> $variable
 | ( exp )
 | literal
 | numeral
 | function ( arguments )
 | boolean-expression
 | numerical-expression
 | node-set-expression

Coercion may occur at function arguments and when expressions are used as predicates.

Variables and functions are evaluated using the context.
Boolean, numerical, and node-set expressions are described in the following...