tf:setDocname

Modify name of a document.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

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

Description

Modifies the name of an existing document.

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.