On Tuesday 08 November 2005 09:18 am, 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).
>
> Paul Prescod
Why use (X)HTML at all? That's the whole point. Modern browsers can display
XML fairly well without transforming the original document into some bizarre
and unnatural form.
Steven