--- jon * <[EMAIL PROTECTED]> wrote:
> on 4/2/00 9:49 AM, Kevin A. Burton
> <[EMAIL PROTECTED]> wrote:
> 
> > I never said HTML was dead.  Just that webmacro
> was dead.  IMO it is
> > inferior to XML publishing by a long shot.  I
> might as well starting
> > using JSP. 
> 
> No. WM is a much better solution than JSP and in
> some ways the whole XSLT
> stuff because it is so limiting!!!
> 
> I like the fact that the designers can't write
> stupid functions in some
> funny language...WM is simply a very very very very
> basic MVC model.
> 
> > - no XSLT without a kludge
> 
> XSLT is a kludge in some ways because it allows you
> to embed java code (or
> whatever language) to make up for anything lacking
> in it.
> 
> > - still encourages logic within your page (this
> won't go away for a
> > while though).
Jon, I don't believe that XSLT allows embedding java
code.  Xalan has a kludged implementation for this,
but it's not a recommendation.  

It's easier and better design to use code to transform
the xml instead of embedding code in the sheet. 
XSLT's main limitation is that it isn't Java, but
that's also a big plus. 

I agree with Kevin that xml/xsl is much better
technology.  I don't know why you haven't embedded the
Xalan XSLT engine in Turbine.  This would be much
easier to use than cocoon and more flexible.

I've used XSLT in Turbine with this:

Div div = new Div();
div.setFilterState(false);
div.addElement( your xsl driver.transform(xml
document, xsl file);
                
return div;
        
With this, you can run several transformations for a
single page, and use ecs as the glue.

- george

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to