xsh:filename

Usage

node-set xsh:filename(node-set?)

Description

Returns filename (URL) of the document containing the first node in the given node-set. If called without arguments, or if the node-set is empty, returns filename of the document containing the current node.