Skip to content

Instantly share code, notes, and snippets.

@xquery
Created June 3, 2012 12:51
Show Gist options
  • Save xquery/2863342 to your computer and use it in GitHub Desktop.
Save xquery/2863342 to your computer and use it in GitHub Desktop.
XQuery 3.0 simple map operator
let $f := function($a){upper-case($a)}
let $data := ("test","test2","test3")
return
$data ! $f(.)
will result in
("TEST", "TEST2", "TEST3")
http://www.w3.org/TR/xquery-30/#id-map-operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment