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: [xml-dev] XSLT vs. CSS (Re: Indexing)

> However, the XSLT based approach is more complicated. I could 
> create a template for para, but then that would override 
> *all* of the default styling for paragraphs, which is not 
> what I want. The lack of additive, cascading templates in 
> XSLT means that I would need a detailed knowledge of the 
> structure of the default style sheets in order to customise 
> them effectively, whereas CSS allows me to concentrate on the 
> structure of my documents instead.

Customisable XSLT stylesheets can certainly be written, though it's true
that they do require careful design and documentation. It's very similar
to writing customisable DTDs, in fact, and has the same characteristic
that the person doing the customising has to become pretty familiar with
the design of the base styesheet.

So: it's not easy, but it can be done, and is well worth doing.

Michael Kay

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