[Zope] ZPT img using attributes (newbie)

Charlie Reiman creiman@kefta.com
Wed, 15 Jan 2003 17:17:58 -0800


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jamie
> Heilman
> Sent: Wednesday, January 15, 2003 4:09 PM
> To: Zope (E-mail)
> Subject: Re: [Zope] ZPT img using attributes (newbie)
>
>
> > <img src="/logo.gif" tal:replace="structure here/logo.gif">
> >
> > or possibly:
> >
> > <img src="/logo.gif" tal:replace="structure here/logo.gif/tag">
> >
> > Since I'm new to ZPT it might be there is a reason for not
> doing this but...
> > it seems right to me.
>
> Unfortunately tag() is broken, it generates invalid html, so while
> these would work if tag() was fixed, the other techniques are probably
> better for the time being.

Could you be more specific? I'm using these and they seem fine. I know I
make use of tag() implicitly in DTML all the time and it's fine. There is
the annoying "/>" XHTMLism but otherwise it seems ok.