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]

[docbook-apps] 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


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


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