{ Frameless }

base-uri($arg)

The base-uri($arg) returns the value of the base-uri property of the current or specified node. If the $arg is a document node, this function usually returns the URI from which the document was retrieved.

Arguments

ArgumentType
$argnode()
Return valuexs:anyURI

N.B

Does not work for copied nodes, they will be resolved against the document-uri() of the owner document. Information about xml:base attributes of the original node is discarded, because that's how the browser DOM works.