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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] imagedata EMPTY


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@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


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