Version 8.2.2
 —  XQuery 4 Reference Guide  —

tf:setDocname

Modify name of a document.


Syntax

tf:setDocname(node $node, string? $name)

Top of page

Description

Modifies the name of an existing document.

Top of page

Arguments

$node

The document node.

$name

The new name to be assigned to the document. If this argument is the empty sequence, the docname is removed.

Top of page