select.mediaobject — Selects and processes an appropriate media object from a list
<xsl:template name="select.mediaobject"> <xsl:param name="olist" select="d:imageobject|d:imageobjectco |d:videoobject|d:audioobject|d:textobject"/> ... </xsl:template>
This template takes a list of media objects (usually the children of a mediaobject or inlinemediaobject) and processes the "right" object.
This template relies on a template named "select.mediaobject.index" to determine which object in the list is appropriate.
If no acceptable object is located, nothing happens.