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: Alaric B Snell <alaric at alaric-snell dot com>
- To: mamiano at nc dot rr dot com
- Cc: Michael Day <mikeday at yeslogic dot com>,mitch dot amiano at softwareadjuvant dot com, docbook-apps at lists dot oasis-open dot org,xml-dev at lists dot xml dot org
- Date: Wed, 09 Jul 2003 10:26:59 +0100
- Subject: [docbook-apps] Re: [xml-dev] XSLT vs. CSS (Re: Indexing)
- References: <Pine.LNX.4.44.0307082054410.16181-100000@lorien.yeslogic.com> <3F0AC128.605@nc.rr.com>
Mitch Amiano wrote:
That complexity is a trade-off which many apparently feel is well worth it.
Complex styling transforms of the kind enabled by XSLT, aren't plausible
in CSS AFAIK.
One should use the best tool for the job. Sometimes that does mean
avoiding XSLT and conveniently attaching CSS styles. Other times it
means going with a full-bore transformation. The diversity of glitches
in implementations of both XSLT and CSS mean that in the general case
there is rarely a clear-cut path. Both are valuable components in the
toolkit.
From my efforts with turning custom XML formats into nice pretty HTML
for display, I'd say that the XSLT was fine for producing tables of
contents, indices, cross references and whatnot - but it would have been
lovely to be able to leave the fine detail to CSS, seperating the
process into "structural transformation" and "styling". Perhaps a
pipelined approach is the way to go.
Mitch
ABS
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org