This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: valid xhtml and chunking
- To: Colin Paul Adams <colin at colina dot demon dot co dot uk>
- Subject: Re: DOCBOOK-APPS: valid xhtml and chunking
- From: Dan York <dyork at e-smith dot com>
- Date: Mon, 18 Jun 2001 10:05:00 -0400
- Cc: docbook-apps at lists dot oasis-open dot org
- Organization: e-smith, Inc.
- References: <m3k82bf4hq.fsf@colina.demon.co.uk>
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