-
-
Save CliffordAnderson/e552a4a029110d73ea5645be767bbf8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
declare function local:seriesTitle($Network as xs:string?) as xs:string | |
{ | |
switch ($Network) | |
case "ABC" return "ABC World News Tonight" | |
case "CBS" return "CBS Evening News" | |
case "NBC" return "NBC Nightly News" | |
default return "unknown network" | |
}; | |
let $seriesTitle := local:seriesTitle("NBC") | |
return $seriesTitle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment