Re: XSLT vs JSP

Subject: Re: XSLT vs JSP
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Mon, 28 Jun 1999 19:28:16 -0400
Thomas Kwan wrote:
> 
> Advantages of XML/XSL:
> (1) Layout Code Portability
>     In the XML/XSL model, the application converts the
>     language-specific objects (i.e. in C, Java) into XML objects
>     which is then passed to XML/XSL engine (i.e. lotus XSL) to
>     generate the HTML. This extra transformation guaratees the
>     portability of the XSL code.

I don't follow this point. What kind of portability are we talking about
and how is it guaranteed?

> Disadvantages of XML/XSL:
> (3) XSL is marketed as a declarative language, and is not as
>     powerful as language like Java. UI designer needs to may need to
>     complex transformation that XSL cannot handle.

XSL can be extended with Java and other programming languages.

> Advantages of JSP:
> (3) UI developer can access all the facilities in Java environment
>     during the transformation.

As with XSL extensions.

> Disadvantages of JSP:
> (1) The layout (.jsp file) is Java specific. It assumes your
>     application speaks Java.

And XSL stylesheets are XSL specific. They presume that your application
speaks XSL.

-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

Those who profess to favor freedom and yet depreciate agitation, are men 
who want crops without plowing up the ground. They want rain without 
thunder and lightning. They want the ocean without the roar of its many 
waters. - Fredrick Douglass
 http://www.informamerica.com/Articles/Quotes.htm


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread