[Zope-dev] ZPT and 'else'
Marc Lindahl
marc@bowery.com
Mon, 13 May 2002 10:45:36 -0400
on 5/10/02 1:18 PM, Jeffrey P Shell at jeffrey@cuemedia.com scrivened:
>
> Still, yuck. It's - for better or worse - not a valid XML way. Even XSLT
> does things like this:
<snip>
Well that makes this look palatable:
>
>>> You would at the very least need something like:
>>> <condition>
>>> <if>...</if>
>>> <elif>...</elif>
>>> <else>...</else>
>>> </condition>
Still I think the concept of TAL having some kind of 'stack' for condition
results makes sense and is worth exploring... Could yield better logical
constructs, and things like case statements.