Subject: Re: mixed content nodes question
From: António Mota <amsmota@xxxxxxxxx>
Date: Fri, 7 Jan 2005 19:42:58 +0000
|
On Fri, 7 Jan 2005 11:32:59 -0800, Mark Lundquist <ml@xxxxxxxxxxxxxx> wrote:
> You mean, "@lookup = '3'" :-).
>
Ofcourse, my mistake :(
> Anyway, here IMHO it's better to _factor_ the match on the <dictionary> node
> out into an outer template, then you have a bunch of ifs that only have to
> know about the @lookup. Easier on the eyes, and maybe looselier(?)-coupled
> :-) to the document structure...
>
That's matter of taste, in the end, but i've made that comment to
enhance the importance of the "paradigm thinking" of templates vs
for...loop and if-then-else constructs.
|