This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] RE: [xml-dev] XSLT vs. CSS (Re: Indexing)
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: "'Michael Day'" <mikeday at yeslogic dot com>,"'Norman Walsh'" <ndw at nwalsh dot com>
- Cc: <docbook-apps at lists dot oasis-open dot org>,<xml-dev at lists dot xml dot org>
- Date: Tue, 1 Jul 2003 10:26:29 +0100
- Subject: [docbook-apps] RE: [xml-dev] XSLT vs. CSS (Re: Indexing)
- Reply-to: <michael dot h dot kay at ntlworld dot com>
> 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