f:mediaobject-type
f:mediaobject-type — Return the type of a media object.
Function:
{http://docbook.org/ns/docbook/functions}mediaobject-type#1
Defined in:
modules/objects.xsl
Used in:
modules/objects.xsl
Used by:
Synopsis
f:mediaobject-type( | $uri as xs:string) as xs:string? |
Description
If
$mediaobject-grouped-by-type
is true,
this function will be called to determine the type of each media object.
The default version simply returns the media object extension, if there is one.
(The type of image.png
is png
.)