OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: valid xhtml and chunking


Colin,

> Against the Transitional DTD, the only problem I found was that the
> validator complains about missing the alt attribute from img tags. I
> have come up against this problem myself when writing stylesheets, and
> got round it by coding alt=" " on every img tag.

Are you using a <textobject> in your <mediaobject> for images?
If you *are*, you should get ALT attributes without any problem.

I code my images as:

    <mediaobject>
    <imageobject>
      <imagedata fileref="foo.eps" format="EPS">
    </imageobject>
    <imageobject>
      <imagedata fileref="foo.jpg" format="JPG">
    </imageobject>
    <textobject>
      <phrase>This is the alt text.</phrase>
    </textobject>
    </mediaobject>

Works fine for me and the ALT tags are good.

Regards,
Dan

-- 
Dan York, Director of Training        dyork@e-smith.com
Ph: +1-613-751-4401  Mobile: +1-613-263-4312 Fax: +1-613-564-7739 
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            open source, open mind


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC