[Zope] <dtml-if> String question

R. David Murray bitz@bitdance.com
Mon, 15 May 2000 15:32:18 -0400 (EDT)


On Mon, 15 May 2000, Stuart Foster wrote:
> Here's a nubie question. If I am using two string values in a <dtml-if> tag
> why is it not evaluating to true?
> 
> s1 = 'Hello'
> s2 = 'Hello'
> 
> <dtml-if "s1==s2">  <-- This is returning 0

How do do the values get set?  Are you sure they are identical?
How are you checking the -if return result?  Your -if syntax looks
correct to me.

--RDM