cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Pipeline conditional model
Date Wed, 31 May 2000 03:52:29 GMT
On 31 May 2000, John Prevost wrote:

> > I don't like either models so I proposed
> 
> > <if>
> > <else-if>
> > <else>
> 
> Um.  Is there really that great a difference between:
> 
> <case>
>  <when ...>
>   ...
>  </when>
>  <when ...>
>   ...
>  </when>
>  <otherwise>
>   ...
>  </otherwise>
> </case>
> 
> and your "if else-if else" model?  As far as I can tell, there is not,
> except that the bounds of the subtree covered by the "if else endif"
> tags is less clear.

I concur with this assessment. The XSLT conditional element set is
sometimes cumbersome, but always crystal clear.

- donald


Mime
View raw message