In a tree tag I am trying to do the following: [tree ... ] <a href=".." class="[if-item-param code eq "[scratch mycode]"][then]class1[/then][else]class2[/else][/if-item-param]"> [/tree] But the problem is that the code item-param never matches the scratch variable, (but it should :) does anyone have any suggestions ? Best regards, Tomy Wagner Visual Online S.A.