This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: inlinegraphic going away... (Was Re: image with link)
- To: daveP at dpawson dot freeserve dot co dot uk, docbook at lists dot oasis-open dot org
- Subject: Re: inlinegraphic going away... (Was Re: DOCBOOK: image with link)
- From: Bob Stayton <bobs at caldera dot com>
- Date: Tue, 25 Sep 2001 11:38:16 -0700 (PDT)
- List-Id: <docbook.lists.oasis-open.org>
> From: Dave Pawson <daveP@dpawson.freeserve.co.uk>
>
> >Uh-huh. I almost said that myself. Of course, you *really* ought to
> >use:
> >
> > <link linkend="mytarget">
> > <inlinemediaobject>
> > <imageobject>
> > <imagedata fileref="mygraphic.gif" format="GIF"/>
> > </imageobject>
> > <textobject>
> > <phrase>Simple alt text description of mygraphic</phrase>
> > </textobject>
> > <textobject>
> > <para>A longer description of the graphic, something that would
> >be useful for readers using a visually constrained system.</para>
> > <para>One such example of a visually constrained system is an
> >audio device for in-car reading of online texts.</para>
> > </textobject>
> > </inlinemediaobject>
> > </link>
> >
> >That at least makes it clear what all the extra typing is actually for :-)
>
> And I think that's supposed to put up the alt text for the image.
> Is it just me, or do the latest XSLT (html) stylesheets not actually do it?
> Is any user action, or css required? It used to be the case that
> the mouseover used to show the alt text / the textobject.
Works for me in XSL 1.44. Is the text not getting into the 'alt'
attribute in your HTML output? The stylesheet selects for
alt the first 'textobject/phrase', so perhaps you aren't using a
phrase element?
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>