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

Home
XML
1.CSS Style
2.SVG
3.XML Schema
4.XQuery
5.XSLT stylesheet
XML » XQuery » variable 




Binding multiple variables in a quantified expression


File: Query.xquery

some $i in (to 3), $j in (1011)
  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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.