[ZPT] Generating XML documents in ZPT

Chris Withers chris at simplistix.co.uk
Tue Aug 17 02:51:15 EDT 2004


Evan Simpson wrote:
> You should, but that's not the problem.  The problem is almost certainly 
> that you don't have an xmlns:tal="http://xml.zope.org/namespaces/tal" 
> declaration on your root element (or some other enclosing element).  ZPT 
> in XML-mode requires explicit declaration of namespaces.

Can anyone suggest a good reason for the pedantic, confusing and 
underdocumented "feature"?

Not only is the xmlns:tal bit required, but the meaningless URL within 
it also has to be correct :-(

Chris - who's also been bit by this recently

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZPT mailing list