support xtemplate and less