[ZPT] METAL, fill-slot and define-macron in the same PT

Evan Simpson evan@digicool.com
Mon, 4 Jun 2001 14:13:38 -0400


From: "Brad Clements" <bkc@murkworks.com>
> I'm still looking for a way to have a tal:repeat that does NOT include the
enclosing
> element.

Jim suggested that 'span' and 'div' tags with TAL attributes that end up
without any attributes could be omitted when rendering HTML.

This would mean the following:

Source: <span class="foo" tal:content="foo"></span> but <span
tal:content="foo"></span>
Result: <span class="foo">Foo!</span> but Foo!

For XML purposes, he suggests a TAL attribute that means "replace this tag
with its contents", like tal:omit_tag="1".  I suggest an entire dummy tag in
the TAL namespace, such as <tal:block>.

Cheers,

Evan @ digicool