t:mediaobject-viewport — Construct the “viewport” for media objects.

Template:
{http://docbook.org/ns/docbook/templates}mediaobject-viewport
Defined in:
modules/objects.xsl
Used in:
main.xsl
Since:
2.7.0

Synopsis

<xsl:template name="t:mediaobject-viewport">
                  <xsl:param name="info" as="map(*)"/>
  <xsl:param name="inherited-nominal-width" as="map(*)"/>
                </xsl:template>

Description

If your DocBook markup for media objects includes any of the size or scaling adjustment attributes, this template is called to construct the HTML markup that implements those adjustments.

Note

Prior to version 2.7.0, this was a function. It was changed into a template to support the tunnel parameter that manages the nominal width available.