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] | [List Home]

Subject: Re: [docbook-apps] DocBook XSL 1.67.0 released

Paul Heinlein wrote:

> It seems to me that it's good practice to have the DocBook XSL 
> stylesheets combine the appropriate [X]HTML tag with a class attribute, 
> rather than a generic span tag with a style attribute, whenever possible.

But what do you do when there is no appropriate HTML tag? Certainly it 
makes sense to add the right class attribute so we have

<span class="uri">

But should we stop there? Should the XSLT generate a CSS style element 
in the head of each document with rules that match all the class 
attributes? Or should it generate an external CSS style sheet with the 
right rules?

I forget how the cascading order works. If we write out:

<span class="uri" style="font-face: mono">

will a rule in the head or an external stylesheet override this or not?

Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!

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