>#8 <dtml-in expr="findClassTitle(code=52.139)"> you might wanna try either <dtml-in expr="findClassTitle(code=_['class_code'])"> or <dtml-in expr="findClassTitle(code=_.getitem('class_code'))"> ><dtml-in expr="findClassTitle(code=<dtml-var class_code>)"> *** syntax >error regards. -- pashah