Get the kind of a non-XML document.
tf:nonXML-kind(document-node $doc) => string?
The function tf:nonXML-kind
returns a string that describes
the kind of the given document. The returned value is one of the following:
if $doc
is a text non-XML
document;
if $doc is a binary non-XML document;
if neither of the above applies. This is the case if
$doc
is a pure XML document.
$doc |
The document that is to be checked. |
---|
The following construct(s) refer to this construct: