RK> Yes, that is one of the biggest drawbacks of Smarty. A better templating RK> engine would be Savant (http://www.phpsavant.com/) which implements the same RK> procedure stated by you in your mail. after i see the Savant's code, it also using str_replace() function, the same way Smarty do.. why you said it's better than smarty? Markus PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/