Re: [webcomponents] HTML Parsing and the <template> element

Then why not something like

<template id="a">world</template>
<template id="b">hello <partial with="a"></template>
On Feb 8, 2012 10:22 PM, "Ryosuke Niwa" <rniwa@webkit.org> wrote:

> On Wed, Feb 8, 2012 at 5:20 PM, Brian Kardell <bkardell@gmail.com> wrote:
>
>> Are you essentially suggesting partials?  Basically, one template can
>> contain another only by reference?  Then you have something like a
>> corresponding tag or macro-ish thing whereby you can reference
>> (functionally include) on themplate from another?
>>
>> That sidesteps the whole nested template parsing pretty nicely and its
>> what a lot of logicless template approaches do.
>>
> I think that's what Adam is suggesting and Erik, Dimitri, and Rafael are
> advocating nested templates.
>
> - Ryosuke
>
>

Received on Thursday, 9 February 2012 03:31:34 UTC