[ZPT] Confused about Zope
Jean-Michel Hiver
jhiver@mkdoc.com
Thu, 27 Feb 2003 13:09:57 +0000
> I dunno how pretty that'll be .. ZPT fits the templating of
> XML-shaped stuff beautifully (hierarchical <tag>-delimited
> element tree, attributes, ..). Using it to generate SQL or
> robot emails or other arbitrary text feels pretty kludgy to
> me, while DTML fits that bill.
Yeah but to turn XML into text / pdf / whatever there's XSLT, or at
worse a module that does the XML parsing + text generation. So basically
if you produce standard XML then you can pipeline it into existing XML
transformation tools, and that in itself can save you a lot of work.
I think that with the event of XML the days of BASIC looking-like
templating systems are numbered, so you might want to avoid using them.
Still, it is nice to have a system that is backwards-compatible :)
Cheers,
--
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver@mkdoc.com - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/