Skip to content

Instantly share code, notes, and snippets.

@xquery
Created September 30, 2013 18:55
Show Gist options
  • Save xquery/6768359 to your computer and use it in GitHub Desktop.
Save xquery/6768359 to your computer and use it in GitHub Desktop.
yes a bit of xml in memory can have base-uri as well
let $doc := <root xml:base="http://example.org/mydoc"></root>
return
base-uri($doc)
@freshie
Copy link

freshie commented Oct 5, 2013

a bit gimmick but I like it. This could be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment