[albatross-users] XML and Albatross templates?

Miguel Marques miguel at yorku.ca
Fri May 6 00:28:43 EST 2005


Greetings...
On Thu, 05 May 2005 14:03:31 +1000, Andrew McNamara <andrewm at object-craft.com.au> wrote:
> I suspect something like the following is closer to the spirit of the
> current Albatross code:
> 
>   <al-if expr="...">
>     abc
>     <al-elif expr="...">
>       def
>     </al-elif>
>     <al-elif expr="...">
>       ghi
>     </al-elif>
>     <al-else>
>       jkl
>     </al-else>
>   </al-if>
> 
> But I don't see that as any sort of improvement over the <al-lookup>
I think the improvement is that it  makes it much clearer that it's a
if/elif/else construct than the al-lookup one does.  
I often have web designers without a lot
of programming experience build/edit pages and I think the above would
be preferable.
IMHO.

							Miguel

C. Miguel Marques, Assistant Manager, Software Systems Developer
Development Services, Computing & Network Services 
York University, Toronto, Ontario, Canada
e-mail: miguel at yorku.ca, voice: (416)736-2100x22684



More information about the Albatross-users mailing list