From: Makoto Kuwata Date: 2004-03-22T09:42:14+09:00 Subject: Re: [ANN] Kwartz (2004-03-19) released Andreas Schwarz wrote: > >Another feature request: it would be very nice to include other template >files like this: > > That's an interesting suggestion. There are some choices. * which to include, presentation data or presentation logic? * included file should be also parsed, or not? for example, Veocity has both ('#parse()' and '#include()'). * is argument a string, variable or name? (id="include:'file.html'" , id="include:filename" or id="include:file.html") * how to include, insert before the element or replace the element? sub.html: --------------------

foo

-------------------- main.html --------------------
foo bar baz
-------------------- choice1: insert before the element --------------------

foo

foo bar baz
-------------------- choice2: replace the element --------------------

foo

-------------------- I must examine and determine which is more suitable to Kwartz. Maybe I have to add :include() statment in intermediate language. -- kwa