Chris Chiasson wrote:
> try using <imagedata blah=blahblah />
>
Not really an option since this is automatically generated from XSLT,
and it shouldn't make a difference anyway.
> also, I am not sure if the alt tag is the right way to mark up html
> alt text. I usually use textobject inside imageobject.
That's a good point. TDG seems to ignore the alt element, but the DTD says:
<!ELEMENT mediaobject (info?, alt?,
(videoobject|audioobject|imageobject|textobject|imageobjectco)+, caption?)>
So the DTD allows ALT, but the documentation doesn't. Strange. I wonder
the RELAX NG schema says? It seems to allow the alt element as well:
<define name="db.mediaobject">
<element name="mediaobject">
<a:documentation>A displayed media object (video, audio, image,
etc.)</a:documentation>
<ref name="db.mediaobject.attlist"/>
<ref name="db.mediaobject.info"/>
<optional>
<ref name="db.alt"/>
</optional>
<oneOrMore>
<ref name="db.mediaobject.content"/>
</oneOrMore>
<optional>
<ref name="db.caption"/>
</optional>
</element>
</define>
Regardless I tried switching to textobject instead of alt, and it didn't
change anything. :-(
--
Elliotte Rusty Harold
elharo@...
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-unsubscribe@...
For additional commands, e-mail:
docbook-help@...