This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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
it.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]