docbook-apps

image class or role in mediaobject

  • 1.  image class or role in mediaobject

    Posted 08-29-2011 10:18
    Hi List.
    I want to add some tooling in the html output of my docbook for images,
    and thus need to select only some of the ones I have displayed.
    So, I have a class/role defined on the imagedata item
    <mediaobject>
    <imageobject class="imgopen2">
    <imagedata class="histogram" role="histogram" align="center"
    fileref="{$path}" width="18cm" format="PNG"/>
    </imageobject>
    ...
    </mediaobject>
    However, when generating the html version, the class is not propagate,
    thus


    cellpadding="0" cellspacing="0" width="638">




    titlealign="middle" width="638">



    Note, however that the class define on the imageobject is kept.

    Is there a way I can have the "histogram" class propagated at the image
    level ?

    Thanks in advance
    Best regards,
    Fabien