[Zope] new dtml syntax

Martijn Faassen faassen@vet.uu.nl
Sun, 16 Jan 2000 21:41:12 +0100


Jeff Bauer wrote:
> Hi all.
> 
> I'm attempting to use the new dtml syntax
> convention, documented in Pamela's fine 
> Document Template Markup Language reference.
> 
> The server complains if I use <!--#dtml-var xxx-->
> syntax, but works okay for <!--#var xxx-->.
> 
> I assume the possible problem might be:
> 
> 1. The new syntax is not supported in the
> latest stable Zope 2.1.2 release.
> 
> 2. My server is loading an older version
> of DocumentTemplate.HTMLFile. (I've already
> checked this.)

3. You may be misunderstanding the exact nature of the new syntax. :)

Instead of:

<!--#var xxx-->

it is now:

<dtml-var xxx>

Does that solve your problem?

Regards,

Martijn