<xsl:template match="graphic">
<p>
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
<xsl:call-template name="process.image"/>
</p>
</xsl:template>
</xsl:choose>
</xsl:variable>
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
+
<xsl:choose>
<xsl:when test="@format='linespecific'">
<xsl:choose>
<xsl:template match="mediaobject|mediaobjectco">
<div class="{name(.)}">
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
<xsl:call-template name="select.mediaobject"/>
<xsl:apply-templates select="caption"/>
</div>
<xsl:template match="inlinemediaobject">
<span class="{name(.)}">
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
<xsl:call-template name="select.mediaobject"/>
</span>
</xsl:template>
<!-- ==================================================================== -->
<xsl:template match="imageobjectco">
+ <xsl:if test="@id">
+ <a name="{@id}"/>
+ </xsl:if>
<xsl:apply-templates select="imageobject"/>
<xsl:apply-templates select="calloutlist"/>
</xsl:template>