Skip to content

Instantly share code, notes, and snippets.

@joewiz
Created May 11, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joewiz/bcd7a164222723eb985e to your computer and use it in GitHub Desktop.
Save joewiz/bcd7a164222723eb985e to your computer and use it in GitHub Desktop.
Make an XQuery file executable in eXist
let $path-to-xq := '/db/cms/apps/tei-content/views/ebook-batch.xq'
return
sm:chmod(xs:anyURI($path-to-xq), 'rwxr-xr-x')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment