Re: XML and Albatross templates?
Miguel Marques <[email protected]> Thu, 05 May 2005 10:28:43 -0400 (EDT)
| Newsgroups | gmane.comp.web.albatross.general |
|---|---|
| Message-ID | <[email protected]> |
Greetings... On Thu, 05 May 2005 14:03:31 +1000, Andrew McNamara <[email protected]> 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