Subject: RE: [docbook] Whatever happened too CSS+XML?
On Tue, 2005-11-08 at 06:18 -0800, Paul Prescod wrote: > Ultimately, I see it as a question of separation of concerns. XSLT is a > great language for a programmer to express the structure of the output > in terms of sequence of objects, linking of objects etc. CSS is a great > language for a designer to express the layout of the output. One could > easily imagine the two working together where XSLT generates XHTML and > then CSS styles the XHTML for the Web and Print. Furthermore, one could > imagine a business rule that explicitly disallows the embedding of style > information into XSLT in order to disallow programmers from selecting > formatting options (as some businesses disallow HTML in code). The partnership works well though Paul. XSLT needs to add the hooks for CSS to grab hold of (readily). CSS styling of XHTML generated by XSLT is a good way of working for browser presentation. I've never worked out how to generate tag-soup from XSLT though. regards DaveP