use xml to cc