Created
August 24, 2016 13:25
-
-
Save ableasdale/a023f8e0ddaad114d73d2c2b76e29b77 to your computer and use it in GitHub Desktop.
Getting the host name from xdmp:host-status
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "1.0-ml"; | |
declare namespace hs = "http://marklogic.com/xdmp/status/host"; | |
xs:string(xdmp:host-status(xdmp:host())/hs:host-name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment