Skip to content

Instantly share code, notes, and snippets.

@tternquist
Created December 22, 2016 22:55
Show Gist options
  • Save tternquist/b194e10076df919eda82642c8412c76a to your computer and use it in GitHub Desktop.
Save tternquist/b194e10076df919eda82642c8412c76a to your computer and use it in GitHub Desktop.
Perform a dynamic xpath expression in MarkLogic
let $xml := <hi><test><inner>test</inner></test></hi>
return $xml/xdmp:unpath("/test/inner")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment