[Zpt] XHTML validation and <span>

Martijn Pieters mj@digicool.com
Fri, 9 Mar 2001 17:40:54 +0100


On Fri, Mar 09, 2001 at 10:34:29AM -0600, Evan Simpson wrote:
> From: "Todd Coram" <todd@digicool.com>
> > Evan, should this be legal? Should string: take paths as well as simple
> > variable names? 'Here' is a variable, so ${here} sort of makes sense. But,
> > 'here/title' is a path....
> 
> I understood that this was discussed during the ZPT meeting, and that people
> there foresaw the dark path of full expressions in strings down which you
> and Martijn have been led :-)

Hence my 'uhoh'. :)

> You can always define a local variable or two and use them in the string
> expression.

This is what I have been doing. I'd say, just limit it to tal:define-ed
variables. Keep It Simple.

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------