Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
AND/OR in <iw_if>
jwl
Hi,
How can I use AND or OR constructs in an <iw_if> tag in a presentation template? Can anyone give me examples?
Thanks,
John
Find more posts tagged with
Comments
RonaldV
From
http://support.interwoven.com/library/devel/tst/pt/TeamSite__PT__iw_if.html:
A Perl logical expression, in XML-encoded form
(eg: '<' must be represented as as '<' and
'&' must be represented as '&').
So I would think:
expr=" $a == 'x' && $b eq 0 "
But I believe the xml-parser is less strict when you use the "non-XML" mode. See:
http://support.interwoven.com/library/devel/tst/pt/TeamSite__PT__iw_pt.html
Gr, Ronald
TS65 Sp1
Win2k Sp4
OD602
RonaldV
<iw_if expr="defined(iwpt_dcr_value('dcr.conditions')) and iwpt_dcr_value('dcr.conditions') ne ''">
TS65 Sp1
Win2k Sp4
OD602