xmldb:get-mime-type($resource-uri as xs:anyURI) xs:string?
Returns the MIME type if available of the resource $resource-uri, otherwise the empty sequence. Resource URIs can be specified either as a simple collection path, an XMLDB URI or any URI.
$resource-uri
The resource URI
Returns the mime-type if available, otherwise the empty sequence