Switch statements
xquery version "3.0";
let $animal := "Duck"
return
switch ($animal)
case "Cow" return "Moo"
case "Cat" return "Meow"
case "Duck" return "Quack"
case "Dog" case "Pitbull" return "Wuff"
default return "What's that odd noise?"