[Zope] string comparison question

Michel Pelletier michel@digicool.com
Thu, 24 Feb 2000 21:07:46 -0800


Pavlos Christoforou wrote:
> 
> >
> The _.string module can do some powerful things but in your case you could
> do something like:
> 
> <dtml-in "getChildNodes()">
>            <dtml-if "getNodeName()=="SOME TEXT">
>               print something
>             </dtml-if>
>        </dtml-in>

Pavlos,

I'm sure you meant:
  
  <dtml-in "getNodeName() == 'SOME TEXT'">

;)

-Michel