Skip to content

Instantly share code, notes, and snippets.

@hansenmc
Created January 2, 2016 00:29
Show Gist options
  • Save hansenmc/1ea79629cdbcec0a3ad5 to your computer and use it in GitHub Desktop.
Save hansenmc/1ea79629cdbcec0a3ad5 to your computer and use it in GitHub Desktop.
MarkLogic supports the Arrow Operator =>
xquery version "3.1"; (: version must be 3.1 :)
(: http://www.w3.org/TR/xpath-31/#id-arrow-operator :)
"Happy " || current-date() => year-from-date() || "!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment