/* | |
* Description : Test union of two lists, bind each list to a variable | |
* Expected Result : Success | |
* Date : 24th July 2012 | |
*/ | |
// $a and $b hold one Record each. | |
let $a := {"id":1234,"name":"John Doe","age":56,"salary":50000,"dept":"HR"} | |
let $b := {"id":3424,"name":"Roger Sanders","age":46,"salary":60000,"dept":"Publishing"} | |
let $c := $a union $b | |
return $c |