use xml to load init data