Subject: RE: Practicality of Separating Data from Presentation
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Tue, 2 Jul 2002 10:51:30 +1200
|
Wendell Piez wrote:
> FWIW, the notion that XSL is broken since it "doesn't
> separate data from
> presentation" is kind of funny in view of the fact that it
> was designed to
> be a presentation-tier thing ... run in the client, target FO
> etc. ...;
> it's only because it's so darned versatile that everyone's
> using it in the
> middle tier at all....
I agree, and I'd also point out that the same could be said of many other
languages. Is C++ broken? Is Java broken? Is VBScript broken? hmmm ....
maybe VBScript IS broken ;-)
As you point out, XSLT is very versatile, and can therefore be used in
misguided ways, but this is not really a "feature" of the language itself.
Actually XSLT can be a very powerful tool for frameworks that separate data
and presentation. You can have a "middle-tier" XSLT and a
"presentation-tier" XSLT and pipe the output of one into the other. Apache
Cocoon http://xml.apache.org/cocoon is an example of this kind of framework.
Con
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
subbu - Tue, 16 Jul 2002 08:32:40 -0400 (EDT)
|
|