Yelp

(The Help System)

db2html.mediaobject

Parameters

$node

The mediaobject element.

This template processes a mediaobject element and outputs the appropriate HTML. DocBook allows multiple objects to be listed in a mediaobject element. Processing tools are expected to choose the earliest suitable object. This template will select the first audio, image, or video object it can handle, filtering out images in non-web formats, and taking conditional processing into consideration. If no suitable non-text objects are found, this template calls db2html.mediaobject.fallback.

This template also detects MathML embedded in a DocBook 5 imagedata element with the format attribute "mathml", and passes it to the templates in db2html-math.