Finished sample1: an simple sample to demo Smarty which parse xml