[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: [LONG][RFC] WML 2.0.0, quotes and tags



Hello!

On Mon, 22 May 2000, Roland Rosenfeld wrote:
> <ifeq this="0" that="0">
>   <then>
>      foo
>   </then>
>   <else
>      bar
>   </else>
> </ifeq>

The <when> tag exists already. What do you think of:

<when <string-eq "<get-var this>" "<get-var that>">> # exists
foo
<else>                                               # doesn't exist yet
bar
</when>

This is shorter and needs only the implementation of an <else> tag (and
I'd like to suggest an <elsewhen>, too)...

Greetings,

Franz

--------------------------------------------------------------------------
Franz KNIPP                                               +34 65 44 26 555 
C/ Poeta Ricard Sanmarti, 4-10                            E-46020 Valencia
http://www.knipp.org/franz/                                franz@knipp.org
--------------------------------------------------------------------------
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com