[Zope] string comparison question
Pavlos Christoforou
pavlos@gaaros.com
Thu, 24 Feb 2000 19:48:51 -0500 (EST)
On Fri, 25 Feb 2000, Rowan Hick wrote:
>
> <dtml-in "getChildNodes()">
> <dtml-let ntype="getNodeName()">
> <dtml-if ...condition..... >
> print something
> </dtml-if>
> </dtml-let>
> </dtml-in>
>
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