fonto:document

Type: Function

Get the document node with the given remote document id if it is loaded. If this document is not loaded, an error will be thrown.

Other

if (fonto:is-document-loaded(@href)) then
    fonto:document(@href) => fonto:title-content() || " is loaded!"
else
    "Nope"

Arguments

  1. remoteDocumentId

    (Required)

    Type: String

    The remote document id of said document

Returns

Type: Node

The document node of said document