Mega Code Archive
Categories
/
XML
/
Xquery
Multiple for clauses
File: Query.xquery for $i in (1, 2) for $j in ("a", "b") return
i is {$i} and j is {$j}
Output:
i is 1 and j is a
i is 1 and j is b
i is 2 and j is a
i is 2 and j is b