set_filename

Usage

set_filename expression [document]

Description

Changes filename or URL associated with a given document (or the current document, if only one argument is specified). Document filename is initialized by the open command and used e.g. by save. It can be queried in XPath expressions using the xsh:filename function.

See Also

open, save, xsh:filename