/* | |
* Description : Test union of two lists, bind each list to a variable | |
* Expected Result : Success | |
* Date : 24th July 2012 | |
*/ | |
let $m := (for $a in [{"id":1234,"name":"John Doe","age":56,"salary":50000,"dept":"HR"}] | |
return $a) | |
let $n := (for $b in [{"id":3424,"name":"Roger Sanders","age":46,"salary":60000,"dept":"Publishing"}] | |
return $b) | |
return $m union $n |