Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created November 8, 2013 22:12
Show Gist options
  • Save ableasdale/7378508 to your computer and use it in GitHub Desktop.
Save ableasdale/7378508 to your computer and use it in GitHub Desktop.
External binary support in MarkLogic
(: From Filesystem :)
xdmp:document-insert("/zip-test.zip",
xdmp:external-binary("C:\Users\ableasdale\Downloads\downloaded.zip")
)
(: From a Variable - it's this simple! :)
xdmp:document-insert("/binary", $var)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment