> From: Elliotte Rusty Harold <[EMAIL PROTECTED]>
>
> In strict XHTML 1.1 I can use style attributes containing
> CSS rules to note that a particular element should be bold,
> italic, red, or some such. If necessary, I can add a span
> element to give me something to hang the CSS off of.
>
>
> Is there any equivalent in Docbook? That is, is there any
> way to say that I want these three words to be red? or that
> element to be bold? Or that this note should be in a sans
> serif font? Mostly I'm happy with Docbook's semantic
> markup, but occasionally it seems that something is
> missing.
>
> XHTML lets me apply unique styles without messing up the
> semantic nature of my document. Does Docbook?
DocBook has no specific markup for styles, but you can fake
it with <phrase> and its role attribute. For example:
<phrase role="red">my red text</phrase>. Of course
you have to modify the stylesheet for <phrase> to respond
properly to the "red" role attribute.
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: [EMAIL PROTECTED]
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: [EMAIL PROTECTED]