xquery version "3.1"; let $movie := The Piano Jane Campion 1993 let $rating := element rating { "R" } return element movie { $movie/* except $movie/date }