(Fwd) Re: [ZPT] Should tal:content keep surrounding tags?
Brad Clements
bkc@murkworks.com
Fri, 1 Jun 2001 13:37:51 -0400
Oops, had sent this only to jim.
--
On 1 Jun 2001, at 12:59, Jim Fulton wrote:
> <td><font color="white"><font size="+1"
> tal:content="here/splat"><i>splat</i></font></font></td>
>
I know this isn't an answer to your question, but you could say:
<td tal:content="here/splat" style="color:white;font-size:larger;font-style:italic" />
> I can think of two solutions and am interested in what ideas others
> may have:
>
> A. Define tal:content so that it includes "surrounding" tags.
For some reason I don't like this idea, but I don't know why. Maybe there's an
interaction with macros?
> B. Define a new tal attribute/statement with the above semantics.
Better, perhaps
<td tal:content:deep="here/splat">
??
I still need a way to have a repeat that does NOT include the enclosing element.
------- End of forwarded message -------
Brad Clements, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements
Brad Clements, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements