Value Comparisons

Value comparisions: eq, ne, lt, le, gt, ge

Compare exactly two atomic values.

$recipe/r:source eq "My Mom"

is true if and only if $recipe has exactly one r:source and that source is “My Mom”.

Errors are raised if the comparison is not between two values or if the values cannot be compared.