forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler" <rgard...@apache.org>
Subject Re: MOTD template match query
Date Tue, 03 Jul 2007 19:49:23 GMT
On 03/07/07, Gav.... <brightoncomputers@brightontown.com.au> wrote:
> In site-to-xhtml.xsl we have tests which to me say :-
>
> when:
> if test = x then do z
> otherwise:
> if test = y then do z
>
> In other words, the below code snippet confuses me
> Why not combine it to say
>
> if test = x or test = y then do z
>
> Or is there more to it than I have glimpsed at so far?

My interpretation is the same as yours. Probably a cut and paste jobby
that never got refactored.

Fastest way to see we you are right is, of course, to just try it.

Ross

Mime
View raw message