Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: default
-
Labels:None
-
Number of attachments :
Description
The graphic tag will be dropped in a future docbook release. The mediaobject and inlinemediaobject types will need to be supported. Here is a quick addition to the XSL for supporting images configured by these types:
<xsl:template match="inlinemediaobject|mediaobject">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="imageobject">
<img border="0" src="{imagedata/@fileref}" align="{imagedata/@align}"/>
</xsl:template>
<xsl:template match="caption">
<center><xsl:apply-templates/></center>
</xsl:template>