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: How to select <imageobject> alternative in<mediaobject>?

The mediaobject element can contain more than one
imageobject element, with the intent being to use 
one from the set for a given output.  But
there currently isn't an easy way of designating this
particular imageobject for HTML output and that
one for FO output.

I suggested in a previous message that role="html" or
role="fo" in each imageobject could be used, with a
stylesheet customization to act on the role value.  I'm
wondering if this method would be appropriate as a standard
feature of the stylesheets? That is, should the stylesheets
designate the role attribute as the method to select
which imageobject to use?    

Let me be clear that this is not a change to the DTD, but
just a convention to be used with Norm's XSL stylesheets.

There doesn't seem to be another available attribute that
would be appropriate.  And I'm guessing that any profiling
would probably be done on the role attribute in
mediaobject, rather than the individual imageobjects within

But I'd like to hear what others think.
Would this be useful?  Is there a better way to do it?

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

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

Powered by eList eXpress LLC