Maven 1.x DocBook Plugin

Docbook plugin does not support mediaobject

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: default
  • Labels:
    None
  • Number of attachments :
    0

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>

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: