Hi,

Thanks a lot for both eval solutions (exactly what I was looking for)
and the template suggestion.

I still have nightmares about Zope's DTML, so I wasn't sure I wanted
to go with templating this time.  I think as I encounter more and more
issues however I might have to consider to a templating solution
afterall.

Of the two templating solutions suggested so far, Amrita seems too
indirect for my tastes.  I'd rather directly code what my HTML looks
like than have it be the result of some fancy/unknown
computation... Not to mention that's just going to come back and bite
me when the implementation changes (or doesn't change).

As for ERB, I'm not yet sure how it's better or easier than the simple
2-level string eval I wanted to do.  It seems pretty much the same
except with different enclosing tags and more overhead.  ERB::Util has
some interesting subroutines though.  I'll have to look more closely
to understand the advantages.

Thanks,
Navin.