cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: [patch] esql null column handling
Date Tue, 15 May 2001 15:09:37 GMT
On Tue, 15 May 2001, Sergio Carvalho wrote:

> On Mon, 14 May 2001 16:46:40 -0400 (EDT)
> Donald Ball <balld@webslingerZ.com> wrote:
>
>
> > > In my opinion, if() is why we can put code into the XML. If's in XML look
> > > like crap. With donald's suggestion you can just use Java's if().
> >
> > i concur (obviously). you can do what you want to do like so:
>
> It is far from obvious. I certainly did not know that the set of esql
> tags is meant to be dependent on Java. If you approach the 'if'
> problem by stating it is simpler in Java, you will tie esql to Java
> XSPs. I must say this is not how I saw the logicsheet, and it is the
> reason for implementing null-handling in a language independent
> syntax.

The alternative is far worse - having a set of "if" type tags for every
taglib.

Plus, the code Donald just gave will work on AxKit (Perl) without change
:-) Thank god for curly bracket languages.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message