[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: conditionel include

On Tue, 30 Nov 1999, Jan Holler wrote:

> hi
> there is probably not, but still i ask:
> is there such a thing as a conditional include?
> a dummy example:
> <if foo
> #include 'test.wml'
> >
> or does one get "a conditional reading-and-including" of a
> file "only" e.g. via eperl?

Yes, have a look at Ralf's templates, he uses something like
   $(page:*# )#include "$(SNB_RC:-.wml_snb)"

The wml_p1_ipp(1) manpage explains how it works.

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com