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)


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


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