[whatwg] template element?
Petrazickis
petrazi at sympatico.ca
Wed Aug 4 01:23:10 PDT 2004
Henri Sivonen wrote:
> On Jul 29, 2004, at 12:02, Wrigley, Ave wrote:
>
>> Clearly, there
>> are a number of well developed server side templating minilanguages that
>> (deliberately) use a syntax that is orthogonal to the HMTL markup.
>
>
> (Nowadays I tend to consider such orthogonality as a bug rather than
> as a desirable feature, because such orthogonality leads to tag soup
> thinking and results.)
>
>> Without opening too much of a can of worms ... are there any lessons to
>> be learned / wheels left un-re-invented?
>
>
> For one thing, designing a terse templating language where the
> template directives are XML elements is hard. The supposedly terse
> language becomes verbose really easily in my experience. See
> http://www.hut.fi/~hsivonen/cms/te.html#h106
This is really OT, but I wish XML would make all elements closeable with
a simple </> tag.
In other words:
<blah>
<tag><abundance><overwhelms>Text</></></>
</blah>
--
Leons Petrazickis
import java.lang.Disclaimer;
More information about the whatwg
mailing list