Binding multiple variables in a quantified expression : variable « XQuery « XML






Binding multiple variables in a quantified expression


File: Query.xquery

some $i in (1 to 3), $j in (10, 11)
  satisfies $j - $i = 7

Output:

<?xml version="1.0" encoding="UTF-8"?>true

 








Related examples in the same category

1.Define variable in for statement
2.Compare value
3.Attempting to use a counter variable
4.Using a positional variable in a for clause
5.Attempting to use a positional variable with a where clause
6.Converting values with a lookup table