use xml to program