Hi Peter,
On Fri, 2 Nov 2012 10:37:20 -0400
Peter Desjardins <[email protected]> wrote:
> Hi.
>
> You could try wrapping the mediaobject in an informalfigure element. I
> use alt text for images and I'm publishing to XHTML via webhelp.
>
> Here's one of my informalfigure elements:
>
> ****************************
> <informalfigure>
> <mediaobject>
> <alt>This illustration is described in the preceding text.</alt>
>
> <imageobject role="html">
> <imagedata fileref="media/server-and-administrator.jpg"/>
> </imageobject>
>
> <imageobject role="fo">
> <imagedata fileref="media/server-and-administrator.jpg"/>
> </imageobject>
>
> <textobject>
> <phrase>This illustration is described in the preceding
> text.</phrase>
> </textobject>
> </mediaobject>
> </informalfigure>
> ****************************
>
Thanks for this workaround - I am going to try it, but I wonder why it does not
work without it. My DocBook/XML validates.
Regards,
Shlomi Fish.
> And the resulting XHTML:
>
> ****************************
> <div class="informalfigure">
> <div class="mediaobject"
> title="This illustration is described in the preceding text.">
> <img src="media/server-and-administrator.jpg"
> alt="This illustration is described in the preceding text."/>
> </div>
> </div>
> ****************************
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Perl Humour - http://perl-begin.org/humour/
Real programmers don’t write workarounds. They tell their users to upgrade
their software.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]