tf:content-type

Get the content type of the specified document.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

tf:content-type(documentNode $doc) => string

Description

This function returns the content type of the document that is identified by $doc.

Arguments

$doc

document node