fn.staticBaseUri() as String?
Returns the value of the base-uri property from the static context. If the base-uri property is undefined, the empty sequence is returned. Components of the static context are discussed in Section C.1 Static Context Components[XP].
fn.staticBaseUri() => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.