{ Frameless }

root($arg)

The root() or root($arg) function returns the root of the tree to which the node specified by $arg belongs. Usually this will be the document node, but it doesn"t have to be.

Arguments

ArgumentType
$argnode()
Return valuenode()