On Mon, Nov 12, 2001 at 06:43:07PM +0100, Jirka Kosek wrote: > Norman Walsh wrote: > > > | For some application it may be useful to have also format or type > > | attribute here. One can say that format of file is java or text/java and > > | stylesheet can apply syntax-highlighting on the file. > > > > Hmm, but what should we call that attribute? > > I see three candidates: > > format - this is used for almost same purpose for graphics, but cann't > be used now, because format isn't CDATA it is predefined as a list of > image format identifiers
The "format" attribute is used to specify a notation. Here it would be "linespecific" again, modulo charset information. > type - it is used in several markup languages to hold MIME type of data. > However MIME approach is not currently used in DocBook, so this change > would be quite inconsistent with a rest of DocBook. MIME denomination is "content-type", not "type". But IMHO MIME content-type are not generic enough. We should be able to have control to a level like image/bitmap/png/rle-compressed, which the 2-level of MIME can't express. At least it would be useful to a stylesheet to have the "image/bitmap/png" part. > language - it is used in classsynopsis for same purpose. This has the idea of a programming language. Such a notion may not exist - think of a plain-text file, or the textual representation of an equation, etc. -- Yann Dirson <[EMAIL PROTECTED]> http://www.alcove.com/ Free-Software Engineer Ing�nieur Logiciel-Libre Free-Software time manager Responsable du temps Informatique-Libre Debian GNU/Linux developper <[EMAIL PROTECTED]> ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl>
