support {{.}} for xtemplate