$v:media-type-default

$v:media-type-default — Default media type.

Variable:
{http://docbook.org/ns/docbook/variables}media-type-default
Defined in:
modules/variable.xsl
Used in:
modules/objects.xsl

Synopsis

$v:media-type-default as xs:string := 'application/octet-stream'

Description

When attempting to determine the media type of a file, the stylesheets use the $v:media-type-map to check for a media type based on the filename (or URI) extension. If there’s no extension or if the extension isn’t in that map, this value is used.