[Zope] Document Template Parse Error

Joel Burton joel@joelburton.com
Wed, 27 Feb 2002 10:49:33 -0500 (EST)


On Wed, 27 Feb 2002, worona wrote:

>
> Using Zope 2.4.3, I am receiving a "Document Template Parse Error" when
> trying to use a dtml-let tag in a DTML Document.  The content for the
> site was copied from a Zope 2.5 server using ZSyncer.  When I add a new
> document and try to use a simple dtml-let tag such as the following:
>
> <dtml-let myval="my value">
>  <dtml-var myval>
> </dtml-let>
>
> I get the error listed below.  Hopefully I am missing something simple.
> Any

Maybe not in the real case, but in your example, you're missing quotes
around the string.

<dtml-let myval="'my value'">
  <dtml-var myval>
</dtml-let>

HTH.
-- 

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant