Hi all, There must be a better way than: <span tal:omit-tag="" tal:condition="python: this_object is not None"> <span tal:replace="python: this_object.getSomethingBig() " /> </span> The following gives an attribute error if 'this_object' is None: <span tal:replace="python: test(this_object is not None, this_object.getSomethingBig(), '')" /> test() seems to always evaluate both params no matter what. In a word, is there a ZPT equivalent to the following python code without nesting <span></span> again and again? if this_object is not None and this_object.getSomethingBig(): result = self.getSomethingEvenBigger() I'm putting too many <span></span> nests to prevent this annoying attribute error in NeoBoard skins. Any help will be appreciated. Regards, Wankyu Choi --------------------------------------------------------------- To the dedicated staff at NeoQuest, language is not a problem to be dealt with, but an art waiting to be performed. --------------------------------------------------------------- Wankyou Choi CEO/President NeoQuest Communications, Inc. 3rd Floor, HMC Bldg., 730-14, Yoksam-dong, Kangnam-gu Seoul, Korea Tel: 82-2 - 501 - 7124 Fax: 82-2-501-7058 Corporate Home: http://www.neoqst.com Personal Home: http://www.neoboard.net e-mail: wankyu@neoqst.com ---------------------------------------------------------------