W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] template element?

From: Petrazickis <petrazi@sympatico.ca>
Date: Wed, 04 Aug 2004 04:23:10 -0400
Message-ID: <41109CEE.3000201@sympatico.ca>
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;
Received on Wednesday, 4 August 2004 01:23:10 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC