[Zope] Can't compare apples to apples. (document_id != id_of_my_document)

T.J. Mannos MannosTJ@slcc.edu
Wed, 23 Aug 2000 19:38:34 -0600


Hi, there,

I have a DTML document called "apples".

A call to <dtml-var document_id> gives the string "apples"

However, a <dtml-if "document_id == 'apples'"> returns false.  Am I missing
something?  I've tried _.str(document_id) and even
_.string.strip(_.str(document_id)).

Thanks,
T.J.